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