feat: read the identity and application domains from the environment
Compose hardcoded auth.dev and guess.dev, which made a domain change a tracked edit that the next pull would undo. Read both from the environment with the defaults unchanged, following the FRONTEND_URL convention already in this file.
This commit is contained in:
parent
842f8b727e
commit
1ffe3393ab
1 changed files with 2 additions and 2 deletions
|
|
@ -38,8 +38,8 @@ services:
|
|||
JWT_SECRET: local-development-secret-change-me-12345
|
||||
FRONTEND_URL: ${FRONTEND_URL:-https://nmbs.guess.local}
|
||||
APP_ENV: ${APP_ENV:-development}
|
||||
GO_LOOSE_AUTH_DOMAIN: auth.dev
|
||||
GO_LOOSE_APP_DOMAIN: guess.dev
|
||||
GO_LOOSE_AUTH_DOMAIN: ${GO_LOOSE_AUTH_DOMAIN:-auth.dev}
|
||||
GO_LOOSE_APP_DOMAIN: ${GO_LOOSE_APP_DOMAIN:-guess.dev}
|
||||
GO_LOOSE_CA_FILE: /certs/local-ca.crt
|
||||
GO_LOOSE_NMBS_CLIENT_ID: ${GO_LOOSE_NMBS_CLIENT_ID:-}
|
||||
GO_LOOSE_NMBS_CLIENT_SECRET: ${GO_LOOSE_NMBS_CLIENT_SECRET:-}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue