This commit is contained in:
Sebastian
2024-06-04 10:28:30 +02:00
parent f3206e3eaa
commit 5f06ad9453

View File

@@ -5,9 +5,11 @@ services:
image: alhaqq/haqq:v1.7.4 image: alhaqq/haqq:v1.7.4
expose: expose:
# HTTP server / GraphQL API # HTTP server / GraphQL API
- 8545 - 8545
ports:
- "55774:55774"
user: root user: root
command: haqqd start command: haqqd start --p2p.laddr "tcp://0.0.0.0:55774" --rpc.laddr "tcp://0.0.0.0:26657"
networks: networks:
- chains - chains
volumes: volumes:
@@ -18,7 +20,7 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.middlewares.haqq-stripprefix.stripprefix.prefixes=/haqq" - "traefik.http.middlewares.haqq-stripprefix.stripprefix.prefixes=/haqq"
- "traefik.http.services.haqq.loadbalancer.server.port=8545" - "traefik.http.services.haqq.loadbalancer.server.port=26657"
- "traefik.http.routers.haqq.entrypoints=websecure" - "traefik.http.routers.haqq.entrypoints=websecure"
- "traefik.http.routers.haqq.tls.certresolver=myresolver" - "traefik.http.routers.haqq.tls.certresolver=myresolver"
- "traefik.http.routers.haqq.rule=Host(`$DOMAIN`) && PathPrefix(`/haqq`)" - "traefik.http.routers.haqq.rule=Host(`$DOMAIN`) && PathPrefix(`/haqq`)"