Initial commit sample

This commit is contained in:
Javielico 2023-05-10 09:37:08 +01:00
parent b74f66d9ed
commit b718378c5f
1 changed files with 4 additions and 6 deletions

View File

@ -3,7 +3,9 @@ version: "3.8"
services:
app:
image: nginx:1.20.0
image: tiredofit/freescout:php8.0-1.17.3
environment:
- DB_
networks:
- proxy
deploy:
@ -15,11 +17,7 @@ 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="
- coop-cloud.${STACK_NAME}.version=0.1+1.17.3
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 30s