From b3a19098c552931ddf7d9b744f4e41e7fc40342e Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Mon, 13 Apr 2026 18:58:04 +0200 Subject: [PATCH] fix: pass all .env vars to cameleer-saas via env_file Instead of explicitly listing every env var the SaaS container needs, use env_file to pass the entire .env. This ensures all installer- configured values (passwords, hosts, ports, etc.) are available for current and future use by the SaaS app and its provisioning config. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker-compose.yml | 3 +++ installer/install.sh | 2 ++ 2 files changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 140f135..1f6dc64 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -116,6 +116,9 @@ services: depends_on: logto: condition: service_healthy + env_file: + - path: .env + required: false volumes: - bootstrapdata:/data/bootstrap:ro - certs:/certs diff --git a/installer/install.sh b/installer/install.sh index 835e15a..743a29f 100644 --- a/installer/install.sh +++ b/installer/install.sh @@ -840,6 +840,8 @@ EOF depends_on: logto: condition: service_healthy + env_file: + - .env environment: DOCKER_HOST: unix:///var/run/docker.sock SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/cameleer_saas