this is victory

This commit is contained in:
squidbear
2025-03-31 08:28:40 +02:00
parent 55ce0f9653
commit 098991a688
7 changed files with 233 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
services:
viction-testnet-archive-client:
image: buildonviction/node:v2.4.5
stop_grace_period: 5m
ulimits:
nofile: 1048576
expose:
- "8545"
- "8546"
ports:
- "10689:10689/tcp"
- "10689:10689/udp"
volumes:
- viction-testnet-node-archive-leveldb-hash:/tomochain/data
networks:
- chains
env_file:
- ./viction/testnet/env
environment:
EXTIP: "${IP}"
P2P_PORT: 10689
command:
- --gcmode=archive
- --syncmode=full
- --rpcapi "eth,debug,net,db,admin,web3"
restart: unless-stopped
viction-testnet-archive:
restart: unless-stopped
image: nginx
depends_on:
- viction-testnet-archive-client
expose:
- 80
environment:
PROXY_HOST: viction-testnet-archive-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-testnet-node-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/viction-testnet-archive"
- "traefik.http.services.viction-testnet-node-archive-leveldb-hash.loadbalancer.server.port=80"
- "traefik.http.routers.viction-testnet-node-archive-leveldb-hash.entrypoints=websecure"
- "traefik.http.routers.viction-testnet-node-archive-leveldb-hash.tls.certresolver=myresolver"
- "traefik.http.routers.viction-testnet-node-archive-leveldb-hash.rule=Host(`$DOMAIN`) && PathPrefix(`/viction-testnet-archive`)"
- "traefik.http.routers.viction-testnet-node-archive-leveldb-hash.middlewares=viction-testnet-node-archive-leveldb-hash-stripprefix, ipwhitelist"
volumes:
viction-testnet-node-archive-leveldb-hash: