From af6f6abfadfe24f187f6e120c57a04352a59549c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Schabh=C3=BCttl?= Date: Mon, 7 Jul 2025 15:43:43 +0200 Subject: [PATCH] Make docker-compose.yml .env-compatible for stack.env and GitOps --- docker-compose.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e1e1bf1..5cc8933 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,8 +14,17 @@ services: #expose: # - "9042" restart: unless-stopped + + # environment values can be passed via .env file + # these defaults are commented out and can be overridden in a stack.env or .env file + # environment: + # USERNAME: your_fritzbox_username + # PASSWORD: your_fritzbox_password + # GATEWAY_URL: http://192.168.0.1:49000 + # LISTEN_ADDRESS: 0.0.0.0:9042 + environment: - USERNAME: your_fritzbox_username - PASSWORD: your_fritzbox_password - GATEWAY_URL: http://192.168.0.1:49000 - LISTEN_ADDRESS: 0.0.0.0:9042 + - USERNAME + - PASSWORD + - GATEWAY_URL + - LISTEN_ADDRESS