fix(config): make FRONTEND_URL optional and default to APP_URL
This commit is contained in:
parent
bfae47f584
commit
5fb92fd582
4 changed files with 21 additions and 8 deletions
|
|
@ -10,8 +10,10 @@ services:
|
|||
# (cp backend/.env.example backend/.env) und Kommentar entfernen:
|
||||
# env_file: backend/.env
|
||||
environment:
|
||||
# APP_URL = öffentliche URL; Frontend-Callbacks leiten standardmäßig dorthin.
|
||||
APP_URL: ${APP_URL:-http://localhost:8080}
|
||||
FRONTEND_URL: ${FRONTEND_URL:-http://localhost:8080}
|
||||
# Optional bei getrenntem Frontend-Host:
|
||||
FRONTEND_URL: ${FRONTEND_URL:-}
|
||||
JWT_SECRET: ${JWT_SECRET:-}
|
||||
ENCRYPTION_KEY: ${ENCRYPTION_KEY:-}
|
||||
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID:-}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue