This commit is contained in:
Para Dox
2025-04-12 13:11:53 +07:00
parent 4001b9ab79
commit a549aadb5b
206 changed files with 6744 additions and 6744 deletions

View File

@@ -4,9 +4,30 @@
services:
viction-mainnet-archive-client:
image: ${VICTION_NODE_IMAGE:-buildonviction/node}:${VICTION_MAINNET_NODE_VERSION:-v2.4.5}
command:
- --gcmode=archive
- --rpcapi=eth,debug,net,db,admin,web3
- --syncmode=full
- --tomox
- --tomox.datadir=/tomochain/data/tomox
restart: unless-stopped
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
stop_grace_period: 5m
networks:
- chains
ports:
- 10670:10670
- 10670:10670/udp
expose:
- 8545
- 8546
volumes:
- ${VICTION_MAINNET_NODE_ARCHIVE_LEVELDB_HASH_DATA:-viction-mainnet-node-archive-leveldb-hash}:/tomochain/data
- .//mainnet:/config
- /slowdisk:/slowdisk
environment:
EXTIP: ${IP}
P2P_PORT: 10670
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -18,43 +39,22 @@ services:
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
expose:
- 8545
- 8546
ports:
- 10670:10670
- 10670:10670/udp
volumes:
- ${VICTION_MAINNET_NODE_ARCHIVE_LEVELDB_HASH_DATA:-viction-mainnet-node-archive-leveldb-hash}:/tomochain/data
- .//mainnet:/config
- /slowdisk:/slowdisk
environment:
EXTIP: ${IP}
P2P_PORT: 10670
command:
- --gcmode=archive
- --rpcapi=eth,debug,net,db,admin,web3
- --syncmode=full
- --tomox
- --tomox.datadir=/tomochain/data/tomox
networks:
- chains
restart: unless-stopped
stop_grace_period: 5m
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
viction-mainnet-archive:
restart: unless-stopped
image: nginx
restart: unless-stopped
networks:
- chains
volumes:
- ./nginx-proxy:/etc/nginx/templates
environment:
PROXY_HOST: viction-mainnet-archive-client
RPC_PATH:
RPC_PORT: 8545
WS_PATH:
WS_PORT: 8546
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

View File

@@ -4,9 +4,30 @@
services:
viction-mainnet-client:
image: ${VICTION_NODE_IMAGE:-buildonviction/node}:${VICTION_MAINNET_NODE_VERSION:-v2.4.5}
command:
- --gcmode=full
- --rpcapi=eth,debug,net,db,admin,web3
- --syncmode=full
- --tomox
- --tomox.datadir=/tomochain/data/tomox
restart: unless-stopped
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
stop_grace_period: 5m
networks:
- chains
ports:
- 10670:10670
- 10670:10670/udp
expose:
- 8545
- 8546
volumes:
- ${VICTION_MAINNET_NODE_PRUNED_LEVELDB_HASH_DATA:-viction-mainnet-node-pruned-leveldb-hash}:/tomochain/data
- .//mainnet:/config
- /slowdisk:/slowdisk
environment:
EXTIP: ${IP}
P2P_PORT: 10670
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -18,43 +39,22 @@ services:
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
expose:
- 8545
- 8546
ports:
- 10670:10670
- 10670:10670/udp
volumes:
- ${VICTION_MAINNET_NODE_PRUNED_LEVELDB_HASH_DATA:-viction-mainnet-node-pruned-leveldb-hash}:/tomochain/data
- .//mainnet:/config
- /slowdisk:/slowdisk
environment:
EXTIP: ${IP}
P2P_PORT: 10670
command:
- --gcmode=full
- --rpcapi=eth,debug,net,db,admin,web3
- --syncmode=full
- --tomox
- --tomox.datadir=/tomochain/data/tomox
networks:
- chains
restart: unless-stopped
stop_grace_period: 5m
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
viction-mainnet:
restart: unless-stopped
image: nginx
restart: unless-stopped
networks:
- chains
volumes:
- ./nginx-proxy:/etc/nginx/templates
environment:
PROXY_HOST: viction-mainnet-client
RPC_PATH:
RPC_PORT: 8545
WS_PATH:
WS_PORT: 8546
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

View File

@@ -4,9 +4,30 @@
services:
viction-testnet-archive-client:
image: ${VICTION_NODE_IMAGE:-buildonviction/node}:${VICTION_TESTNET_NODE_VERSION:-v2.4.5}
command:
- --gcmode=archive
- --rpcapi=eth,debug,net,db,admin,web3
- --syncmode=full
- --tomox
- --tomox.datadir=/tomochain/data/tomox
restart: unless-stopped
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
stop_grace_period: 5m
networks:
- chains
ports:
- 10254:10254
- 10254:10254/udp
expose:
- 8545
- 8546
volumes:
- ${VICTION_TESTNET_NODE_ARCHIVE_LEVELDB_HASH_DATA:-viction-testnet-node-archive-leveldb-hash}:/tomochain/data
- .//testnet:/config
- /slowdisk:/slowdisk
environment:
EXTIP: ${IP}
P2P_PORT: 10254
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -18,43 +39,22 @@ services:
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
expose:
- 8545
- 8546
ports:
- 10254:10254
- 10254:10254/udp
volumes:
- ${VICTION_TESTNET_NODE_ARCHIVE_LEVELDB_HASH_DATA:-viction-testnet-node-archive-leveldb-hash}:/tomochain/data
- .//testnet:/config
- /slowdisk:/slowdisk
environment:
EXTIP: ${IP}
P2P_PORT: 10254
command:
- --gcmode=archive
- --rpcapi=eth,debug,net,db,admin,web3
- --syncmode=full
- --tomox
- --tomox.datadir=/tomochain/data/tomox
networks:
- chains
restart: unless-stopped
stop_grace_period: 5m
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
viction-testnet-archive:
restart: unless-stopped
image: nginx
restart: unless-stopped
networks:
- chains
volumes:
- ./nginx-proxy:/etc/nginx/templates
environment:
PROXY_HOST: viction-testnet-archive-client
RPC_PATH:
RPC_PORT: 8545
WS_PATH:
WS_PORT: 8546
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

View File

@@ -4,9 +4,30 @@
services:
viction-testnet-client:
image: ${VICTION_NODE_IMAGE:-buildonviction/node}:${VICTION_TESTNET_NODE_VERSION:-v2.4.5}
command:
- --gcmode=full
- --rpcapi=eth,debug,net,db,admin,web3
- --syncmode=full
- --tomox
- --tomox.datadir=/tomochain/data/tomox
restart: unless-stopped
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
stop_grace_period: 5m
networks:
- chains
ports:
- 10254:10254
- 10254:10254/udp
expose:
- 8545
- 8546
volumes:
- ${VICTION_TESTNET_NODE_PRUNED_LEVELDB_HASH_DATA:-viction-testnet-node-pruned-leveldb-hash}:/tomochain/data
- .//testnet:/config
- /slowdisk:/slowdisk
environment:
EXTIP: ${IP}
P2P_PORT: 10254
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
@@ -18,43 +39,22 @@ services:
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
expose:
- 8545
- 8546
ports:
- 10254:10254
- 10254:10254/udp
volumes:
- ${VICTION_TESTNET_NODE_PRUNED_LEVELDB_HASH_DATA:-viction-testnet-node-pruned-leveldb-hash}:/tomochain/data
- .//testnet:/config
- /slowdisk:/slowdisk
environment:
EXTIP: ${IP}
P2P_PORT: 10254
command:
- --gcmode=full
- --rpcapi=eth,debug,net,db,admin,web3
- --syncmode=full
- --tomox
- --tomox.datadir=/tomochain/data/tomox
networks:
- chains
restart: unless-stopped
stop_grace_period: 5m
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
viction-testnet:
restart: unless-stopped
image: nginx
restart: unless-stopped
networks:
- chains
volumes:
- ./nginx-proxy:/etc/nginx/templates
environment:
PROXY_HOST: viction-testnet-client
RPC_PATH:
RPC_PORT: 8545
WS_PATH:
WS_PORT: 8546
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