Update docker-compose.prod.yml
This commit is contained in:
@@ -29,7 +29,6 @@ services:
|
|||||||
- traefik.http.routers.headquarter-api.entrypoints=${TRAEFIK_ENTRYPOINT:-websecure}
|
- traefik.http.routers.headquarter-api.entrypoints=${TRAEFIK_ENTRYPOINT:-websecure}
|
||||||
- traefik.http.routers.headquarter-api.tls.certresolver=${TRAEFIK_CERT_RESOLVER:-letsencrypt}
|
- traefik.http.routers.headquarter-api.tls.certresolver=${TRAEFIK_CERT_RESOLVER:-letsencrypt}
|
||||||
- traefik.http.services.headquarter-api.loadbalancer.server.port=8000
|
- traefik.http.services.headquarter-api.loadbalancer.server.port=8000
|
||||||
- traefik.http.routers.headquarter-api.middlewares=sec-headers@file
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://localhost:8000/health')\""]
|
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://localhost:8000/health')\""]
|
||||||
@@ -57,7 +56,6 @@ services:
|
|||||||
- traefik.http.routers.headquarter-web.entrypoints=${TRAEFIK_ENTRYPOINT:-websecure}
|
- traefik.http.routers.headquarter-web.entrypoints=${TRAEFIK_ENTRYPOINT:-websecure}
|
||||||
- traefik.http.routers.headquarter-web.tls.certresolver=${TRAEFIK_CERT_RESOLVER:-letsencrypt}
|
- traefik.http.routers.headquarter-web.tls.certresolver=${TRAEFIK_CERT_RESOLVER:-letsencrypt}
|
||||||
- traefik.http.services.headquarter-web.loadbalancer.server.port=8080
|
- traefik.http.services.headquarter-web.loadbalancer.server.port=8080
|
||||||
- traefik.http.routers.headquarter-web.middlewares=sec-headers@file
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
db:
|
db:
|
||||||
|
|||||||
Reference in New Issue
Block a user