From 1ffe3393abd6f21d7f34feed81dc1acec075ecad Mon Sep 17 00:00:00 2001 From: Daniel Noulet Date: Sat, 3 Oct 2026 05:17:12 +0200 Subject: [PATCH] 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. --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 72ba79f..c806b3d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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:-}