This commit is contained in:
Sebastian
2024-12-14 08:57:49 +01:00
parent 455b633f87
commit 7a2c5699aa

View File

@@ -20,11 +20,12 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.middlewares.tron-fullnode-stripprefix.stripprefix.prefixes=/tron-fullnode" - "traefik.http.middlewares.tron-fullnode-stripprefix.stripprefix.prefixes=/tron-fullnode"
- "traefik.http.middlewares.tron-fullnode-addprefix.addprefix.prefix=/jsonrpc"
- "traefik.http.services.tron-fullnode.loadbalancer.server.port=8545" - "traefik.http.services.tron-fullnode.loadbalancer.server.port=8545"
- "traefik.http.routers.tron-fullnode.entrypoints=websecure" - "traefik.http.routers.tron-fullnode.entrypoints=websecure"
- "traefik.http.routers.tron-fullnode.tls.certresolver=myresolver" - "traefik.http.routers.tron-fullnode.tls.certresolver=myresolver"
- "traefik.http.routers.tron-fullnode.rule=Host(`$DOMAIN`) && PathPrefix(`/tron-fullnode`)" - "traefik.http.routers.tron-fullnode.rule=Host(`$DOMAIN`) && PathPrefix(`/tron-fullnode`)"
- "traefik.http.routers.tron-fullnode.middlewares=tron-fullnode-stripprefix, ipwhitelist" - "traefik.http.routers.tron-fullnode.middlewares=tron-fullnode-stripprefix, tron-fullnode-addprefix, ipwhitelist"
volumes: volumes:
tron-fullnode-db: tron-fullnode-db: