move authentik env vars to shared file
This commit is contained in:
@@ -15,8 +15,6 @@ services:
|
|||||||
POSTGRES_PASSWORD: ${AUTHENTIK_PG_PASSWORD}
|
POSTGRES_PASSWORD: ${AUTHENTIK_PG_PASSWORD}
|
||||||
POSTGRES_USER: ${AUTHENTIK_PG_USER:-authentik}
|
POSTGRES_USER: ${AUTHENTIK_PG_USER:-authentik}
|
||||||
POSTGRES_DB: ${AUTHENTIK_PG_DB:-authentik}
|
POSTGRES_DB: ${AUTHENTIK_PG_DB:-authentik}
|
||||||
env_file:
|
|
||||||
- /opt/authentik/.env
|
|
||||||
|
|
||||||
authentik-redis:
|
authentik-redis:
|
||||||
image: docker.io/library/redis:alpine
|
image: docker.io/library/redis:alpine
|
||||||
@@ -47,8 +45,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /opt/authentik/media:/media
|
- /opt/authentik/media:/media
|
||||||
- /opt/authentik/templates:/templates
|
- /opt/authentik/templates:/templates
|
||||||
env_file:
|
|
||||||
- /opt/authentik/.env
|
|
||||||
ports:
|
ports:
|
||||||
- "19000:9000"
|
- "19000:9000"
|
||||||
- "19443:9443"
|
- "19443:9443"
|
||||||
@@ -73,8 +69,6 @@ services:
|
|||||||
- /opt/authentik/media:/media
|
- /opt/authentik/media:/media
|
||||||
- /opt/authentik/certs:/certs
|
- /opt/authentik/certs:/certs
|
||||||
- /opt/authentik/templates:/templates
|
- /opt/authentik/templates:/templates
|
||||||
env_file:
|
|
||||||
- /opt/authentik/.env
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- authentik-postgresql
|
- authentik-postgresql
|
||||||
- authentik-redis
|
- authentik-redis
|
||||||
|
|||||||
Reference in New Issue
Block a user