mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
♻️ Simplify environment configuration (#2413)
This commit is contained in:
committed by
GitHub
parent
2d04828d6a
commit
9c8983e2a5
@@ -44,8 +44,14 @@ services:
|
||||
# Use the Let's Encrypt resolver
|
||||
- traefik.http.routers.adminer-https.tls.certresolver=le
|
||||
|
||||
prestart:
|
||||
environment:
|
||||
FRONTEND_HOST: https://${DOMAIN?Variable not set}
|
||||
|
||||
backend:
|
||||
restart: always
|
||||
environment:
|
||||
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}`)
|
||||
|
||||
Reference in New Issue
Block a user