Update env vars for production

This commit is contained in:
kurt-mcrae
2024-11-26 22:14:15 +11:00
parent fd250f66e6
commit 174f1e89e7
2 changed files with 4 additions and 1 deletions

View File

@@ -6,3 +6,6 @@ DB_PASSWORD=password
NSW_FUEL_API_KEY=1MYSRAx5yvqHUZc6VGtxix6oMA2qgfRT
NSW_FUEL_API_SECRET=BMvWacw15Et8uFGF
NSW_FUEL_API_AUTH_HEADER=MU1ZU1JBeDV5dnFIVVpjNlZHdHhpeDZvTUEycWdmUlQ6Qk12V2FjdzE1RXQ4dUZHRg==
# Deployment environment - update this to the deployed app's domain
ALLOWED_ORIGINS=https://your.domain.tld

View File

@@ -24,7 +24,7 @@ services:
environment:
- ASPNETCORE_ENVIRONMENT=Production
#adjust the ports here if you change the exposed port on the frontend
- ALLOWED_ORIGINS=http://localhost:3000,http://frontend-prod:3000
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS}
- TIMESCALE_DB_CONNECTION=Host=timescaledb-prod;Port=5432;Database=postgres;Username=${DB_USER};Password=${DB_PASSWORD}
- NSW_FUEL_API_BASE_URL=https://api.onegov.nsw.gov.au
- NSW_FUEL_API_KEY=${NSW_FUEL_API_KEY}