68 lines
2.4 KiB
YAML
68 lines
2.4 KiB
YAML
|
|
|
|
services:
|
|
goat-testnet3:
|
|
image: ghcr.io/goatnetwork/goat-geth:v0.1.7
|
|
stop_grace_period: 5m
|
|
restart: unless-stopped
|
|
ports:
|
|
- "10272:10272"
|
|
- "10272:10272/udp"
|
|
environment:
|
|
- "GETH_GCMODE=full"
|
|
- "GETH_SYNCMODE=snap"
|
|
- "GETH_STATE_SCHEME=path"
|
|
- "GETH_DB_ENGINE=pebble"
|
|
- "GETH_NAT=extip:${IP}"
|
|
- "GETH_PORT=10272"
|
|
- "GETH_WS_PORT=8545"
|
|
- "GETH_HTTP=true"
|
|
- "GETH_HTTP_ADDR=0.0.0.0"
|
|
- "GETH_HTTP_VHOSTS=*"
|
|
- "GETH_WS=true"
|
|
- "GETH_WS_ADDR=0.0.0.0"
|
|
- "GETH_WS_ORIGINS=*"
|
|
- "GETH_HTTP_API=eth,net,debug,admin,web3"
|
|
entrypoint: ["geth"]
|
|
command: --goat=testnet3
|
|
expose:
|
|
- 8545
|
|
volumes:
|
|
- "goat-testnet3-geth-pruned-pebble-path:/root/.ethereum"
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.middlewares.goat-testnet3-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/goat-testnet3"
|
|
- "traefik.http.services.goat-testnet3-geth-pruned-pebble-path.loadbalancer.server.port=8545"
|
|
- "traefik.http.routers.goat-testnet3-geth-pruned-pebble-path.entrypoints=websecure"
|
|
- "traefik.http.routers.goat-testnet3-geth-pruned-pebble-path.tls.certresolver=myresolver"
|
|
- "traefik.http.routers.goat-testnet3-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/goat-testnet3`)"
|
|
- "traefik.http.routers.goat-testnet3-geth-pruned-pebble-path.middlewares=goat-testnet3-geth-pruned-pebble-path-stripprefix, ipwhitelist"
|
|
networks:
|
|
- chains
|
|
|
|
goat-testnet3-node:
|
|
image: ghcr.io/goatnetwork/goat:testnet3
|
|
stop_grace_period: 30s
|
|
restart: unless-stopped
|
|
environment:
|
|
- "IP=${IP}"
|
|
volumes:
|
|
- "goat-testnet3-geth-pruned-pebble-path_node:/root/.goat"
|
|
- "goat-testnet3-geth-pruned-pebble-path:/geth"
|
|
depends_on:
|
|
- goat-testnet3
|
|
ports:
|
|
- "15272:15272"
|
|
- "15272:15272/udp"
|
|
entrypoint: ["goatd", "start"]
|
|
command: >
|
|
- --chain-id goat-testnet3
|
|
- --goat.geth "/geth/geth.ipc"
|
|
- --p2p.external-address "${IP}:15272"
|
|
- --p2p.laddr "0.0.0.0:15272"
|
|
networks:
|
|
- chains
|
|
|
|
volumes:
|
|
goat-testnet3-geth-pruned-pebble-path:
|
|
goat-testnet3-geth-pruned-pebble-path_node: |