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
|
|
@ -36,8 +36,9 @@ USER app
|
|||
ENV PORT=8080 \
|
||||
DB_PATH=/data/wannpassts.db \
|
||||
STATIC_DIR=/app/dist \
|
||||
APP_URL=http://localhost:8080 \
|
||||
FRONTEND_URL=http://localhost:8080
|
||||
APP_URL=http://localhost:8080
|
||||
# FRONTEND_URL ist bewusst nicht gesetzt: Ohne Wert leiten Callbacks auf APP_URL.
|
||||
# Bei getrenntem Frontend-Host einfach -e FRONTEND_URL=https://… setzen.
|
||||
VOLUME /data
|
||||
EXPOSE 8080
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue