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