expose the right port in the compose file... to enable ipv4 in the container?

This commit is contained in:
Sebastian
2023-09-17 20:36:36 +02:00
parent 37cb3bdc77
commit 39291859ec

View File

@@ -12,14 +12,15 @@ services:
volumes: volumes:
- "fantom-archive:/datadir" - "fantom-archive:/datadir"
expose: expose:
- "18545" - "18544"
- "5050"
networks: networks:
- chains - chains
restart: unless-stopped restart: unless-stopped
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.middlewares.fantom-archive-stripprefix.stripprefix.prefixes=/fantom-archive" - "traefik.http.middlewares.fantom-archive-stripprefix.stripprefix.prefixes=/fantom-archive"
- "traefik.http.services.fantom-archive.loadbalancer.server.port=18545" - "traefik.http.services.fantom-archive.loadbalancer.server.port=18544"
- "traefik.http.routers.fantom-archive.entrypoints=websecure" - "traefik.http.routers.fantom-archive.entrypoints=websecure"
- "traefik.http.routers.fantom-archive.tls.certresolver=myresolver" - "traefik.http.routers.fantom-archive.tls.certresolver=myresolver"
- "traefik.http.routers.fantom-archive.rule=Host(`$DOMAIN`) && PathPrefix(`/fantom-archive`)" - "traefik.http.routers.fantom-archive.rule=Host(`$DOMAIN`) && PathPrefix(`/fantom-archive`)"