This commit is contained in:
vlafvlaf 2023-04-26 06:11:15 +02:00
parent b9cff752b5
commit 0bd236b399
1 changed files with 2 additions and 6 deletions

View File

@ -3,9 +3,9 @@ version: "3.8"
services:
app:
image: vlafvlaf/osur-server
image: vlafvlaf/osur-server:latest
networks:
- proxy
- internal
deploy:
restart_policy:
condition: on-failure
@ -15,10 +15,6 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
## Redirect from EXTRA_DOMAINS to DOMAIN
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version="
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]