mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
♻️ Require non-empty Compose configuration (#2418)
## AI Disclaimer Using Codex with gpt-5.6-sol. Reviewed manually.
This commit is contained in:
committed by
GitHub
parent
1a30f30e51
commit
060795204b
+4
-4
@@ -38,7 +38,7 @@ services:
|
||||
restart: always
|
||||
labels:
|
||||
# Route HTTPS traffic for the Adminer subdomain
|
||||
- traefik.http.routers.adminer-https.rule=Host(`adminer.${DOMAIN?Variable not set}`)
|
||||
- traefik.http.routers.adminer-https.rule=Host(`adminer.${DOMAIN:?Variable not set}`)
|
||||
- traefik.http.routers.adminer-https.entrypoints=https
|
||||
- traefik.http.routers.adminer-https.tls=true
|
||||
# Use the Let's Encrypt resolver
|
||||
@@ -46,15 +46,15 @@ services:
|
||||
|
||||
prestart:
|
||||
environment:
|
||||
FRONTEND_HOST: https://${DOMAIN?Variable not set}
|
||||
FRONTEND_HOST: https://${DOMAIN:?Variable not set}
|
||||
|
||||
backend:
|
||||
restart: always
|
||||
environment:
|
||||
FRONTEND_HOST: https://${DOMAIN?Variable not set}
|
||||
FRONTEND_HOST: https://${DOMAIN:?Variable not set}
|
||||
labels:
|
||||
# Route HTTPS traffic for this domain
|
||||
- traefik.http.routers.backend-https.rule=Host(`${DOMAIN?Variable not set}`)
|
||||
- traefik.http.routers.backend-https.rule=Host(`${DOMAIN:?Variable not set}`)
|
||||
- traefik.http.routers.backend-https.entrypoints=https
|
||||
- traefik.http.routers.backend-https.tls=true
|
||||
# Use the Let's Encrypt resolver
|
||||
|
||||
Reference in New Issue
Block a user