forecasting .env: SETTINGS_URL/SECRET for central NewBook creds; drop NEWBOOK_* vars
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f7ace8f5ef
commit
cbdc3bff96
1 changed files with 4 additions and 5 deletions
|
|
@ -1282,16 +1282,15 @@ deploy_forecasting() {
|
||||||
msg_info "Deploying forecasting"
|
msg_info "Deploying forecasting"
|
||||||
deploy_service 113 "forecasting" "${REPO_ROOT}/forecasting" /opt/forecasting
|
deploy_service 113 "forecasting" "${REPO_ROOT}/forecasting" /opt/forecasting
|
||||||
|
|
||||||
# Note: NEWBOOK_* and RESOS_API_KEY are configured via the Settings page after first deploy.
|
# NewBook credentials come from the central Settings service (SETTINGS_URL).
|
||||||
|
# RESOS_API_KEY is configured via the app's Settings page after first deploy.
|
||||||
# ANTHROPIC_API_KEY is optional — enables the AI Dashboard feature.
|
# ANTHROPIC_API_KEY is optional — enables the AI Dashboard feature.
|
||||||
push_file 113 /opt/forecasting/.env <<EOF
|
push_file 113 /opt/forecasting/.env <<EOF
|
||||||
APP_SLUG=forecasting
|
APP_SLUG=forecasting
|
||||||
DATABASE_URL=postgresql://forecasting:${FORECASTING_DB_PASS}@10.10.10.100:5432/forecasting_db
|
DATABASE_URL=postgresql://forecasting:${FORECASTING_DB_PASS}@10.10.10.100:5432/forecasting_db
|
||||||
CENTRAL_AUTH_SECRET=${CENTRAL_AUTH_SECRET}
|
CENTRAL_AUTH_SECRET=${CENTRAL_AUTH_SECRET}
|
||||||
NEWBOOK_API_KEY=${NEWBOOK_API_KEY:-}
|
SETTINGS_URL=http://10.10.10.116:3080
|
||||||
NEWBOOK_USERNAME=${NEWBOOK_USERNAME:-}
|
SETTINGS_SECRET=${SETTINGS_SECRET}
|
||||||
NEWBOOK_PASSWORD=${NEWBOOK_PASSWORD:-}
|
|
||||||
NEWBOOK_REGION=${NEWBOOK_REGION:-AU}
|
|
||||||
RESOS_API_KEY=${RESOS_API_KEY:-}
|
RESOS_API_KEY=${RESOS_API_KEY:-}
|
||||||
ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
|
ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
|
||||||
VITE_HOTEL_NAME=${SITE_NAME:-Hotel}
|
VITE_HOTEL_NAME=${SITE_NAME:-Hotel}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue