moar
This commit is contained in:
73
goat/geth/goat-mainnet-geth-archive-leveldb-hash.yml
Normal file
73
goat/geth/goat-mainnet-geth-archive-leveldb-hash.yml
Normal file
@@ -0,0 +1,73 @@
|
||||
|
||||
|
||||
services:
|
||||
goat-mainnet-archive:
|
||||
image: ghcr.io/goatnetwork/goat-geth:v0.3.0
|
||||
stop_grace_period: 5m
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "10891:10891"
|
||||
- "10891:10891/udp"
|
||||
environment:
|
||||
- "GETH_GCMODE=archive"
|
||||
- "GETH_SYNCMODE=full"
|
||||
- "GETH_STATE_SCHEME=hash"
|
||||
- "GETH_DB_ENGINE=leveldb"
|
||||
- "GETH_NAT=extip:${IP}"
|
||||
- "GETH_PORT=10891"
|
||||
- "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=mainnet
|
||||
expose:
|
||||
- 8545
|
||||
volumes:
|
||||
- "goat-mainnet-geth-archive-leveldb-hash:/root/.ethereum"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.middlewares.goat-mainnet-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/goat-mainnet-archive"
|
||||
- "traefik.http.services.goat-mainnet-geth-archive-leveldb-hash.loadbalancer.server.port=8545"
|
||||
- "traefik.http.routers.goat-mainnet-geth-archive-leveldb-hash.entrypoints=websecure"
|
||||
- "traefik.http.routers.goat-mainnet-geth-archive-leveldb-hash.tls.certresolver=myresolver"
|
||||
- "traefik.http.routers.goat-mainnet-geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && PathPrefix(`/goat-mainnet-archive`)"
|
||||
- "traefik.http.routers.goat-mainnet-geth-archive-leveldb-hash.middlewares=goat-mainnet-geth-archive-leveldb-hash-stripprefix, ipwhitelist"
|
||||
networks:
|
||||
- chains
|
||||
|
||||
goat-mainnet-archive-node:
|
||||
image: ghcr.io/goatnetwork/goat:v0.2.3
|
||||
stop_grace_period: 30s
|
||||
restart: unless-stopped
|
||||
entrypoint: ["goatd", "start"]
|
||||
expose:
|
||||
- 1317
|
||||
ports:
|
||||
- "15891:15891"
|
||||
- "15891:15891/udp"
|
||||
command:
|
||||
- --home /goat
|
||||
- --chain-id=goat-mainnet
|
||||
- --goat.geth /geth/geth.ipc
|
||||
- --api.enable
|
||||
- --api.address=tcp://0.0.0.0:1317
|
||||
- --p2p.external-address ${IP}:15891
|
||||
- --p2p.laddr 0.0.0.0:15891
|
||||
environment:
|
||||
- "IP=${IP}"
|
||||
volumes:
|
||||
- "goat-mainnet-geth-archive-leveldb-hash_node:/goat"
|
||||
- "goat-mainnet-geth-archive-leveldb-hash:/geth"
|
||||
depends_on:
|
||||
- goat-mainnet-archive
|
||||
networks:
|
||||
- chains
|
||||
|
||||
volumes:
|
||||
goat-mainnet-geth-archive-leveldb-hash:
|
||||
goat-mainnet-geth-archive-leveldb-hash_node:
|
||||
Reference in New Issue
Block a user