From d4e17c7eda2a0188386853668c22d33cbf5514f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Tue, 20 Aug 2024 11:54:04 +0000 Subject: [PATCH] env_file for portainer --- authentik/compose | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/authentik/compose b/authentik/compose index 9e4d113..cebd34a 100644 --- a/authentik/compose +++ b/authentik/compose @@ -9,6 +9,8 @@ services: interval: 30s retries: 5 timeout: 5s + env_file: + - stack.env volumes: - database:/var/lib/postgresql/data environment: @@ -40,6 +42,8 @@ services: volumes: - media:/media - custom-templates:/templates + env_file: + - stack.env ports: - "${COMPOSE_PORT_HTTP:-9000}:9000" - "${COMPOSE_PORT_HTTPS:-9443}:9443" @@ -63,6 +67,8 @@ services: # on the mounted folders, so when removing this make sure the folders have the correct UID/GID # (1000:1000 by default) user: root + env_file: + - stack.env volumes: - /var/run/docker.sock:/var/run/docker.sock - media:/media