added harmony to the compose file

This commit is contained in:
Sebastian
2022-01-03 10:46:17 +01:00
parent 354dab9b12
commit 32001c6bfc
2 changed files with 27 additions and 0 deletions

View File

@@ -109,6 +109,32 @@ services:
- "traefik.http.routers.geth-mainnet.rule=Host(`$DOMAIN`) && PathPrefix(`/geth`)"
- "traefik.http.routers.geth-mainnet.middlewares=geth-mainnet-stripprefix, ipwhitelist"
harmony-mainnet:
image: harmonyone/harmony:latest
expose:
- "9500"
- "9000"
- "6000"
- "30303"
volumes:
- ./harmony/harmony_db_0:/harmony/harmony_db_0
- ./harmony/log:/harmony/log
- ./harmony/keyfiles:/harmony/.hmy
environment:
- NODE_BLSKEY=${HARMONY_NODE_BLSKEY}
- NODE_BLSPASS=${HARMONY_NODE_BLSPASS}
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.geth-mainnet-stripprefix.stripprefix.prefixes=/harmony"
- "traefik.http.middlewares.ipwhitelist.ipwhitelist.sourcerange=$WHITELIST"
- "traefik.http.services.harmony-mainnet.loadbalancer.server.port=9500"
- "traefik.http.routers.harmony-mainnet.entrypoints=websecure"
- "traefik.http.routers.harmony-mainnet.tls.certresolver=myresolver"
- "traefik.http.routers.harmony-mainnet.rule=Host(`$DOMAIN`) && PathPrefix(`/harmony`)"
- "traefik.http.routers.harmony-mainnet.middlewares=harmony-mainnet-stripprefix, ipwhitelist"
erigon-trace:
image: thorax/erigon
expose:

1
harmony/keyfiles/README Normal file
View File

@@ -0,0 +1 @@
place a file named "validator-key" in this folder