added networks. dont check this out on rpc-de-1 xD
This commit is contained in:
@@ -27,6 +27,8 @@ services:
|
||||
volumes:
|
||||
- "./traefik/letsencrypt:/letsencrypt"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
networks:
|
||||
- chains
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
|
||||
@@ -39,6 +41,8 @@ services:
|
||||
- "30303"
|
||||
volumes:
|
||||
- geth-goerli:/.goerli
|
||||
networks:
|
||||
- chains
|
||||
command: "--goerli --http --http.api eth,net --http.addr 0.0.0.0 --http.port 8545 --http.vhosts=* --syncmode full --datadir .goerli --verbosity 3 --metrics.addr 0.0.0.0 --pprof.addr 0.0.0.0"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@@ -58,6 +62,8 @@ services:
|
||||
- "30303"
|
||||
volumes:
|
||||
- geth-rinkeby:/.rinkeby
|
||||
networks:
|
||||
- chains
|
||||
command: "--rinkeby --http --http.api eth,net --http.addr 0.0.0.0 --http.port 8545 --http.vhosts=* --syncmode full --datadir .rinkeby --verbosity 3 --metrics.addr 0.0.0.0 --pprof.addr 0.0.0.0"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
@@ -78,6 +84,8 @@ services:
|
||||
- "30303"
|
||||
volumes:
|
||||
- geth-ropsten:/.ropsten
|
||||
networks:
|
||||
- chains
|
||||
command: "--ropsten --http --http.api eth,net --http.addr 0.0.0.0 --http.port 8545 --http.vhosts=* --syncmode full --datadir .ropsten --verbosity 3 --metrics.addr 0.0.0.0 --pprof.addr 0.0.0.0"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
@@ -102,6 +110,8 @@ services:
|
||||
- xdai:/nethermind_db/xdai
|
||||
- ./xdai/xdai.cfg:/xdai.cfg
|
||||
- ./xdai/xdai.json:/xdai.json
|
||||
networks:
|
||||
- chains
|
||||
command: "--config /xdai.cfg"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
@@ -138,6 +148,8 @@ services:
|
||||
- harmony:/harmony/
|
||||
- ./harmony/log:/harmony/log
|
||||
- ./bootstrap_skript/harmony.sh:/harmony.sh
|
||||
networks:
|
||||
- chains
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@@ -157,6 +169,8 @@ services:
|
||||
- "9090"
|
||||
volumes:
|
||||
- erigon-trace:/home/erigon/.local/share/erigon
|
||||
networks:
|
||||
- chains
|
||||
command: erigon --chain mainnet --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --private.api.addr=0.0.0.0:9090 --pprof --pprof.addr=0.0.0.0 --pprof.port=6061
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -166,6 +180,8 @@ services:
|
||||
pid: service:erigon-trace # Use erigon's PID namespace. It's required to open Erigon's DB from another process (RPCDaemon local-mode)
|
||||
volumes:
|
||||
- erigon-trace:/home/erigon/.local/share/erigon
|
||||
networks:
|
||||
- chains
|
||||
expose:
|
||||
- "8545"
|
||||
restart: unless-stopped
|
||||
@@ -191,6 +207,8 @@ services:
|
||||
- "9651:9651/udp"
|
||||
volumes:
|
||||
- avalanche:/root/.avalanchego
|
||||
networks:
|
||||
- chains
|
||||
command: "/avalanchego/build/avalanchego --http-host="
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
@@ -219,6 +237,8 @@ services:
|
||||
volumes:
|
||||
- ./chains/chains_testnet.json:/home/app/.pocket/config/chains.json
|
||||
- pocket-testnet:/home/app/.pocket
|
||||
networks:
|
||||
- chains
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@@ -249,6 +269,8 @@ services:
|
||||
- ./chains/chains_mainnet.json:/home/app/.pocket/config/chains.json
|
||||
- ./pokt/config.json:/home/app/.pocket/config/config.json
|
||||
- pocket-mainnet:/home/app/.pocket
|
||||
networks:
|
||||
- chains
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.middlewares.ipwhitelist.ipwhitelist.sourcerange=$WHITELIST"
|
||||
@@ -287,6 +309,8 @@ services:
|
||||
volumes:
|
||||
- /root/fusenet/database:/data
|
||||
- /root/fusenet/config:/config/custom
|
||||
networks:
|
||||
- chains
|
||||
command: "--role node --parity-args --no-warp --node-key 0xeb5Ca1d019e9D8b9aa9C47991993C84d1062628d --jsonrpc-threads 1 --jsonrpc-server-threads 4"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
@@ -314,6 +338,8 @@ services:
|
||||
volumes:
|
||||
- ./wireguard/config/wg0.conf:/config/wg0.conf
|
||||
- /lib/modules:/lib/modules
|
||||
networks:
|
||||
- chains
|
||||
# Expose prometheus port
|
||||
expose:
|
||||
- 9090
|
||||
@@ -332,6 +358,8 @@ services:
|
||||
volumes:
|
||||
- ./prometheus/prometheus-rpc.yml:/etc/prometheus/prometheus.yml
|
||||
- prometheus_data:/prometheus
|
||||
networks:
|
||||
- chains
|
||||
command:
|
||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||
- '--storage.tsdb.path=/prometheus'
|
||||
@@ -353,6 +381,8 @@ services:
|
||||
- /proc:/host/proc:ro
|
||||
- /sys:/host/sys:ro
|
||||
- /:/rootfs:ro
|
||||
networks:
|
||||
- chains
|
||||
command:
|
||||
- '--path.procfs=/host/proc'
|
||||
- '--path.rootfs=/rootfs'
|
||||
@@ -376,21 +406,14 @@ services:
|
||||
- /sys:/sys:ro
|
||||
- /var/lib/docker:/var/lib/docker:ro
|
||||
#- /cgroup:/cgroup:ro #doesn't work on MacOS only for Linux
|
||||
networks:
|
||||
- chains
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 8080
|
||||
labels:
|
||||
org.label-schema.group: "monitoring"
|
||||
|
||||
pushgateway:
|
||||
image: prom/pushgateway:v1.4.2
|
||||
container_name: pushgateway
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 9091
|
||||
labels:
|
||||
org.label-schema.group: "monitoring"
|
||||
|
||||
### VOLUMES
|
||||
|
||||
volumes:
|
||||
@@ -404,3 +427,10 @@ volumes:
|
||||
pocket-testnet:
|
||||
pocket-mainnet:
|
||||
prometheus_data:
|
||||
|
||||
networks:
|
||||
chains:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 192.168.0.1/27
|
||||
Reference in New Issue
Block a user