Fix management .env to include CENTRAL_AUTH_SECRET/AUTH_URL; update add-app summary

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-01 19:34:16 +00:00
parent 53caeea318
commit ac846670f3
2 changed files with 17 additions and 9 deletions

View file

@ -741,6 +741,9 @@ deploy_management() {
push_file 105 /opt/management/.env <<EOF
FORGEJO_WEBHOOK_SECRET=${WEBHOOK_SECRET}
WEBHOOK_SECRET=${WEBHOOK_SECRET}
CENTRAL_AUTH_SECRET=${CENTRAL_AUTH_SECRET}
AUTH_URL=http://10.10.10.101:3001
BACKUP_REMOTE=${BACKUP_REMOTE}
BACKUP_PG_HOST=10.10.10.100
BACKUP_PG_USER=postgres
@ -859,6 +862,8 @@ NODE_ENV=production
APP_SLUG=cashup
DATABASE_URL=postgresql://cashup:${CASHUP_DB_PASS}@10.10.10.100:5432/cashup_db
CENTRAL_AUTH_SECRET=${CENTRAL_AUTH_SECRET}
SETTINGS_URL=http://10.10.10.116:3080
SETTINGS_SECRET=${SETTINGS_SECRET}
OFFICE_IP_CHECK=${OFFICE_IP_CHECK:-${OFFICE_IP:-disabled}}
FRONTEND_PORT=3083
EOF