Skip to content

Commit

Permalink
add restart config and expose backend too just to test
Browse files Browse the repository at this point in the history
  • Loading branch information
dreth committed Jul 25, 2024
1 parent bb537eb commit 7434b22
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
context: .
dockerfile: Dockerfile
container_name: hbd
restart: always
ports:
- "8417:8417"
- "8418:8418"
Expand All @@ -21,15 +22,15 @@ services:
- "traefik.http.routers.hbd.rule=Host(`hbd.lotiguere.com`)"
- "traefik.http.routers.hbd.entrypoints=websecure"
- "traefik.http.routers.hbd.tls.certresolver=myresolver"
# - "traefik.http.routers.hbd.service=hbd-service"
- "traefik.http.routers.hbd.service=hbd-service"
- "traefik.http.services.hbd-service.loadbalancer.server.port=8418"

# # Backend
# - "traefik.http.routers.hbd-api.rule=Host(`hbd.lotiguere.com`) && PathPrefix(`/api`)"
# - "traefik.http.routers.hbd-api.entrypoints=websecure"
# - "traefik.http.routers.hbd-api.tls.certresolver=myresolver"
# - "traefik.http.routers.hbd-api.service=hbd-api-service"
# - "traefik.http.services.hbd-api-service.loadbalancer.server.port=8417"
# Backend
- "traefik.http.routers.hbd-api.rule=Host(`hbd.lotiguere.com`) && PathPrefix(`/api`)"
- "traefik.http.routers.hbd-api.entrypoints=websecure"
- "traefik.http.routers.hbd-api.tls.certresolver=myresolver"
- "traefik.http.routers.hbd-api.service=hbd-api-service"
- "traefik.http.services.hbd-api-service.loadbalancer.server.port=8417"
networks:
- proxy

Expand Down

0 comments on commit 7434b22

Please sign in to comment.