release the thunder

This commit is contained in:
Sebastian
2024-12-15 09:22:26 +01:00
parent 09c94f55e6
commit 95819e9884
14 changed files with 1050 additions and 0 deletions

52
thundercore.yml Normal file
View File

@@ -0,0 +1,52 @@
services:
thundercore-fullnode-client:
image: thundercore/thunder:r4.3.8
stop_grace_period: 5m
ulimits:
nofile: 1048576
expose:
- "8545"
- "8546"
ports:
- "33797:33797/tcp"
- "33797:33797/udp"
volumes:
- thundercore-fullnode-db:/datadir
- ./thundercore/mainnet:/config/fastpath/pala
- thundercore-fullnode-logs:/logs
networks:
- chains
entrypoint: [ "/sbin/tini", "--", "/entrypoint.sh" ]
environment:
PORT: 33797
restart: unless-stopped
thundercore-fullnode:
restart: unless-stopped
image: nginx
depends_on:
- thundercore-fullnode-client
expose:
- 80
environment:
PROXY_HOST: thundercore-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.thundercore-fullnode-stripprefix.stripprefix.prefixes=/thundercore-fullnode"
- "traefik.http.services.thundercore-fullnode.loadbalancer.server.port=80"
- "traefik.http.routers.thundercore-fullnode.entrypoints=websecure"
- "traefik.http.routers.thundercore-fullnode.tls.certresolver=myresolver"
- "traefik.http.routers.thundercore-fullnode.rule=Host(`$DOMAIN`) && PathPrefix(`/thundercore-fullnode`)"
- "traefik.http.routers.thundercore-fullnode.middlewares=thundercore-fullnode-stripprefix, ipwhitelist"
volumes:
thundercore-fullnode-db:
thundercore-fullnode-logs: