Inject SETTINGS_URL/SECRET into auth env and AUTH_URL into noticeboard env at deploy time
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
01abc9c10b
commit
b124abf8c4
1 changed files with 3 additions and 0 deletions
|
|
@ -638,6 +638,8 @@ ADMIN_PASSWORD=${ADMIN_PASS}
|
||||||
OFFICE_IP_CHECK=${OFFICE_IP}
|
OFFICE_IP_CHECK=${OFFICE_IP}
|
||||||
CORS_ORIGIN=https://${DOMAIN}
|
CORS_ORIGIN=https://${DOMAIN}
|
||||||
SESSION_DAYS=30
|
SESSION_DAYS=30
|
||||||
|
SETTINGS_URL=http://10.10.10.116:3080
|
||||||
|
SETTINGS_SECRET=${SETTINGS_SECRET}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
pct exec 101 -- bash -c "cd /opt/auth && docker compose up -d --build" &>/dev/null
|
pct exec 101 -- bash -c "cd /opt/auth && docker compose up -d --build" &>/dev/null
|
||||||
|
|
@ -798,6 +800,7 @@ CENTRAL_AUTH_SECRET=${CENTRAL_AUTH_SECRET}
|
||||||
APP_SLUG=noticeboard
|
APP_SLUG=noticeboard
|
||||||
OFFICE_IP_CHECK=${OFFICE_IP}
|
OFFICE_IP_CHECK=${OFFICE_IP}
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
|
AUTH_URL=http://10.10.10.101:3001
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
pct exec 112 -- bash -c "cd /opt/noticeboard && docker compose up -d --build" &>/dev/null
|
pct exec 112 -- bash -c "cd /opt/noticeboard && docker compose up -d --build" &>/dev/null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue