mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-31 05:33:46 +00:00
Update docker-compose.yml
add missing env_file and depends_on
This commit is contained in:
parent
628ca26f7f
commit
39c6192a9a
|
@ -18,6 +18,8 @@ services:
|
||||||
POSTGRES_PASSWORD: ${PG_PASS:-authentik}
|
POSTGRES_PASSWORD: ${PG_PASS:-authentik}
|
||||||
POSTGRES_USER: ${PG_USER:-authentik}
|
POSTGRES_USER: ${PG_USER:-authentik}
|
||||||
POSTGRES_DB: ${PG_DB:-authentik}
|
POSTGRES_DB: ${PG_DB:-authentik}
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
networks:
|
networks:
|
||||||
- authentik-internal
|
- authentik-internal
|
||||||
|
|
||||||
|
@ -55,6 +57,8 @@ services:
|
||||||
expose:
|
expose:
|
||||||
- 9000
|
- 9000
|
||||||
- 9443
|
- 9443
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgresql
|
- postgresql
|
||||||
- redis
|
- redis
|
||||||
|
@ -87,6 +91,11 @@ services:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/certs:/certs
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/certs:/certs
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/media:/media
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/media:/media
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/custom-templates:/templates
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/custom-templates:/templates
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
depends_on:
|
||||||
|
- postgresql
|
||||||
|
- redis
|
||||||
networks:
|
networks:
|
||||||
- authentik-internal
|
- authentik-internal
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user