From 8ddcccf293f3fa9bc851fb0775d87ea2d39cf5b8 Mon Sep 17 00:00:00 2001 From: thethreemagi Date: Fri, 4 Sep 2026 11:30:33 -0400 Subject: [PATCH] compose: forward ADMIN_BOOTSTRAP_EMAIL and SITE_BASE_URL to the container Portainer stack variables are substitution values for the compose file, not container environment. A var added to the stack and not listed here is silently absent at runtime. --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 91d747e..34198f9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -42,6 +42,10 @@ services: - NTFY_TOKEN=${NTFY_TOKEN} - ADMIN_TOKEN=${ADMIN_TOKEN} - EVENTS_FEED_URL=${EVENTS_FEED_URL} + # P0 identity. Portainer stack env only reaches the container if it is + # forwarded here; adding it to the stack alone is not enough. + - ADMIN_BOOTSTRAP_EMAIL=${ADMIN_BOOTSTRAP_EMAIL} + - SITE_BASE_URL=${SITE_BASE_URL} volumes: - /srv/scout-website/data:/data - /srv/scout-website/secrets/service_account.json:/app/service_account.json:ro