forked from GOATNetwork/goat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainnet.yaml
More file actions
45 lines (43 loc) · 1019 Bytes
/
Copy pathmainnet.yaml
File metadata and controls
45 lines (43 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: mainnet
services:
geth:
image: ghcr.io/goatnetwork/goat-geth:v0.3.3
restart: unless-stopped
stop_grace_period: 30s
network_mode: host
command:
- --goat=mainnet
- --http
- --http.api=eth,net,web3
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --ws
- --ws.origins=*
- --ws.addr=0.0.0.0
- --ws.api=eth,net,web3
# Open it if you need an archive node
# - --gcmode=archive
volumes:
- /data/geth:/root/.ethereum
logging:
driver: local
goat:
image: ghcr.io/goatnetwork/goat:v0.3.3
restart: unless-stopped
stop_grace_period: 30s
network_mode: host
command:
- start
- --goat.geth=/geth/geth.ipc
- --chain-id=goat-mainnet
- --grpc.address=0.0.0.0:9090
- --api.enable
- --api.address=tcp://0.0.0.0:1317
depends_on:
- geth
volumes:
- /data/goat:/root/.goat
- /data/geth:/geth
logging:
driver: local