2023-04-21 10:54:23 +00:00
|
|
|
version: "3.7"
|
2020-07-14 19:53:39 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
postgresql:
|
2024-01-11 18:27:18 +00:00
|
|
|
image: docker.io/library/postgres:${PSQL_TAG:-16}
|
2020-07-14 19:53:39 +00:00
|
|
|
volumes:
|
2023-04-21 10:54:23 +00:00
|
|
|
- db-data:/var/lib/postgresql/data
|
2020-07-14 19:53:39 +00:00
|
|
|
environment:
|
2020-12-05 21:08:42 +00:00
|
|
|
POSTGRES_USER: authentik
|
2020-07-14 19:53:39 +00:00
|
|
|
POSTGRES_PASSWORD: "EK-5jnKfjrGRm<77"
|
2020-12-05 21:08:42 +00:00
|
|
|
POSTGRES_DB: authentik
|
2020-07-14 19:53:39 +00:00
|
|
|
ports:
|
2023-04-21 10:54:23 +00:00
|
|
|
- 5432:5432
|
2020-07-14 19:53:39 +00:00
|
|
|
restart: always
|
|
|
|
redis:
|
2023-04-21 12:45:41 +00:00
|
|
|
image: docker.io/library/redis
|
2020-07-14 19:53:39 +00:00
|
|
|
ports:
|
2023-04-21 10:54:23 +00:00
|
|
|
- 6379:6379
|
2020-07-14 19:53:39 +00:00
|
|
|
restart: always
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db-data:
|
|
|
|
driver: local
|