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-mainnet-archive-client:
image: buildonviction/node:v2.4.5
stop_grace_period: 5m
ulimits:
nofile: 1048576
expose:
- "8545"
- "8546"
ports:
- "10184:10184/tcp"
- "10184:10184/udp"
volumes:
- viction-mainnet-node-archive-leveldb-hash:/tomochain/data
networks:
- chains
env_file:
- ./viction/mainnet/env
environment:
EXTIP: "${IP}"
P2P_PORT: 10184
SNAPSHOT_CMD: 'mkdir -p /tomochain/data/tomo/chaindata; wget -c https://snapshot.viction.xyz/archive-node/CHAIN_DATA.tar.zst -O - | tar zstd xvf -C /chaindata/data/tomo/chaindata; mkdir -p /tomochain/data/tomox; wget -c https://snapshot.viction.xyz/archive-node/TOMOX_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomox'
command:
- --gcmode=archive
- --syncmode=full
- --rpcapi "eth,debug,net,db,admin,web3"
restart: unless-stopped
viction-mainnet-archive:
restart: unless-stopped
image: nginx
depends_on:
- viction-mainnet-archive-client
expose:
- 80
environment:
PROXY_HOST: viction-mainnet-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-mainnet-node-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/viction-mainnet-archive"
- "traefik.http.services.viction-mainnet-node-archive-leveldb-hash.loadbalancer.server.port=80"
- "traefik.http.routers.viction-mainnet-node-archive-leveldb-hash.entrypoints=websecure"
- "traefik.http.routers.viction-mainnet-node-archive-leveldb-hash.tls.certresolver=myresolver"
- "traefik.http.routers.viction-mainnet-node-archive-leveldb-hash.rule=Host(`$DOMAIN`) && PathPrefix(`/viction-mainnet-archive`)"
- "traefik.http.routers.viction-mainnet-node-archive-leveldb-hash.middlewares=viction-mainnet-node-archive-leveldb-hash-stripprefix, ipwhitelist"
volumes:
viction-mainnet-node-archive-leveldb-hash:

View File

@@ -0,0 +1,57 @@
services:
viction-mainnet-client:
image: buildonviction/node:v2.4.5
stop_grace_period: 5m
ulimits:
nofile: 1048576
expose:
- "8545"
- "8546"
ports:
- "10670:10670/tcp"
- "10670:10670/udp"
volumes:
- viction-mainnet-node-pruned-leveldb-hash:/tomochain/data
networks:
- chains
env_file:
- ./viction/mainnet/env
environment:
EXTIP: "${IP}"
P2P_PORT: 10670
SNAPSHOT_CMD: 'mkdir -p /tomochain/data/tomo/chaindata; wget -c https://snapshot.viction.xyz/CHAIN_DATA.tar.zst -O - | tar zstd xvf -C /chaindata/data/tomo/chaindata; mkdir -p /tomochain/data/tomox; wget -c https://snapshot.viction.xyz/TOMOX_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomox'
command:
- --gcmode=full
- --syncmode=full
- --rpcapi "eth,debug,net,db,admin,web3"
restart: unless-stopped
viction-mainnet:
restart: unless-stopped
image: nginx
depends_on:
- viction-mainnet-client
expose:
- 80
environment:
PROXY_HOST: viction-mainnet-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-mainnet-node-pruned-leveldb-hash-stripprefix.stripprefix.prefixes=/viction-mainnet"
- "traefik.http.services.viction-mainnet-node-pruned-leveldb-hash.loadbalancer.server.port=80"
- "traefik.http.routers.viction-mainnet-node-pruned-leveldb-hash.entrypoints=websecure"
- "traefik.http.routers.viction-mainnet-node-pruned-leveldb-hash.tls.certresolver=myresolver"
- "traefik.http.routers.viction-mainnet-node-pruned-leveldb-hash.rule=Host(`$DOMAIN`) && PathPrefix(`/viction-mainnet`)"
- "traefik.http.routers.viction-mainnet-node-pruned-leveldb-hash.middlewares=viction-mainnet-node-pruned-leveldb-hash-stripprefix, ipwhitelist"
volumes:
viction-mainnet-node-pruned-leveldb-hash:

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:

View File

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