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