refactor: update docker-compose.override.yml to remove unused backups volume and streamline service configurations
This commit is contained in:
parent
f57f965e4c
commit
70863dd952
1 changed files with 10 additions and 5 deletions
|
@ -15,7 +15,6 @@ services:
|
||||||
image: docker.io/library/postgres:${POSTGRES_TAG:?POSTGRES_TAG is not configured}
|
image: docker.io/library/postgres:${POSTGRES_TAG:?POSTGRES_TAG is not configured}
|
||||||
volumes:
|
volumes:
|
||||||
- database:/var/lib/postgresql/data
|
- database:/var/lib/postgresql/data
|
||||||
- backups_db:/var/lib/postgresql/backups
|
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
|
@ -29,6 +28,10 @@ services:
|
||||||
environment:
|
environment:
|
||||||
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:?PG_PASS is required. - Password for authentik's postgresql database}
|
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:?PG_PASS is required. - Password for authentik's postgresql database}
|
||||||
ports: []
|
ports: []
|
||||||
|
volumes:
|
||||||
|
- media:/media
|
||||||
|
- ./data/authentik/custom-templates:/templates
|
||||||
|
- geoip:/geoip
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
|
@ -38,18 +41,20 @@ services:
|
||||||
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:?PG_PASS is required. - Password for authentik's postgresql database}
|
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:?PG_PASS is required. - Password for authentik's postgresql database}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ./data/authentik/media:/media
|
- media:/media
|
||||||
- ./data/authentik/certs:/certs
|
- certs:/certs
|
||||||
- ./data/authentik/custom-templates:/templates
|
- ./data/authentik/custom-templates:/templates
|
||||||
- geoip:/geoip
|
- geoip:/geoip
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
backups_db:
|
|
||||||
driver: local
|
|
||||||
geoip:
|
geoip:
|
||||||
driver: local
|
driver: local
|
||||||
|
media:
|
||||||
|
driver: local
|
||||||
|
certs:
|
||||||
|
driver: local
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
backend:
|
backend:
|
Loading…
Add table
Add a link
Reference in a new issue