diff --git a/viction.yml b/viction.yml index 48eda486..ddfc401a 100644 --- a/viction.yml +++ b/viction.yml @@ -6,6 +6,7 @@ services: nofile: 1048576 expose: - "8545" + - "8546" ports: - "11072:11072/tcp" - "11072:11072/udp" @@ -21,8 +22,27 @@ services: NETSTATS_HOST: "stats.viction.xyz" NETSTATS_PORT: 443 WS_SECRET: getty-site-pablo-auger-room-sos-blair-shin-whiz-delhi - command: --port 11072 --wsport 8545 --syncmode full + command: --port 11072 --syncmode full restart: unless-stopped + + + viction-fullnode: + restart: unless-stopped + image: nginx + depends_on: + - viction-fullnode-client + expose: + - 80 + environment: + PROXY_HOST: viction-fullnode-client + RPC_PORT: 8545 + RPC_PATH: "" + WS_PORT: 8546 + WS_PATH: "" + networks: + - chains + volumes: + - ./nginx-proxy:/etc/nginx/templates labels: - "traefik.enable=true" - "traefik.http.middlewares.viction-fullnode-stripprefix.stripprefix.prefixes=/viction-fullnode"