generated from DAM/ts-TEMPLATE
update volumes
This commit is contained in:
parent
f8c483e7d4
commit
8096ab4046
@ -26,7 +26,7 @@ services:
|
||||
retries: 5
|
||||
timeout: 5s
|
||||
volumes:
|
||||
- database:/var/lib/postgresql/data
|
||||
- ./postgres/data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${PG_PASS:?database password required}
|
||||
POSTGRES_USER: ${PG_USER:-authentik}
|
||||
@ -48,7 +48,7 @@ services:
|
||||
retries: 5
|
||||
timeout: 3s
|
||||
volumes:
|
||||
- redis:/data
|
||||
- ./redis/data:/data
|
||||
network_mode: service:authentik-ts
|
||||
depends_on:
|
||||
- authentik-ts
|
||||
@ -64,8 +64,8 @@ services:
|
||||
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
|
||||
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS}
|
||||
volumes:
|
||||
- ./media:/media
|
||||
- ./custom-templates:/templates
|
||||
- .authentik/media:/media
|
||||
- .authentik/templates:/templates
|
||||
env_file:
|
||||
- .env
|
||||
# ports:
|
||||
@ -95,12 +95,12 @@ services:
|
||||
# Removing `user: root` also prevents the worker from fixing the permissions
|
||||
# on the mounted folders, so when removing this make sure the folders have the correct UID/GID
|
||||
# (1000:1000 by default)
|
||||
user: root
|
||||
# user: root
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./media:/media
|
||||
- ./certs:/certs
|
||||
- ./custom-templates:/templates
|
||||
# - /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./authentik-worker/media:/media
|
||||
- ./authentik-worker/certs:/certs
|
||||
- ./authentik-worker/templates:/templates
|
||||
env_file:
|
||||
- .env
|
||||
network_mode: service:authentik-ts
|
||||
|
Loading…
x
Reference in New Issue
Block a user