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

1
viction-testnet.yml Symbolic link
View File

@@ -0,0 +1 @@
viction/node/viction-testnet-node-pruned-leveldb-hash.yml

2
viction/mainnet/env Normal file
View File

@@ -0,0 +1,2 @@
NETWORK_ID=88
BOOTNODES=enode://fd3da177f9492a39d1e7ce036b05745512894df251399cb3ec565081cb8c6dfa1092af8fac27991e66b6af47e9cb42e02420cc89f8549de0ce513ee25ebffc3a@3.212.20.0:30303,enode://97f0ca95a653e3c44d5df2674e19e9324ea4bf4d47a46b1d8560f3ed4ea328f725acec3fcfcb37eb11706cf07da669e9688b091f1543f89b2425700a68bc8876@104.248.98.78:30301,enode://b72927f349f3a27b789d0ca615ffe3526f361665b496c80e7cc19dace78bd94785fdadc270054ab727dbb172d9e3113694600dd31b2558dd77ad85a869032dea@188.166.207.189:30301,enode://c8f2f0643527d4efffb8cb10ef9b6da4310c5ac9f2e988a7f85363e81d42f1793f64a9aa127dbaff56b1e8011f90fe9ff57fa02a36f73220da5ff81d8b8df351@104.248.98.60:30301

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:

2
viction/testnet/env Normal file
View File

@@ -0,0 +1,2 @@
NETWORK_ID=89
BOOTNODES=enode://ce1191bf9a634e7939676d136816ad84941b079c03d6a96e64cca35852363012169055c6879c644e821dc236a01d0499a1b7ff39e9518dbc00da87c7f1898604@13.251.101.216:30301,enode://cf2d05f71f143d85dce45dae6f74fae0ba56fc5ea1d1c548a095e29a5becb3a1fb93eb33e7b1dec43946dcfe608fd1495a02740af710bc615b90ad60fcc04d14@13.250.94.232:30301