2020-05-28 18:29:28 +01:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
postgresql:
|
|
|
|
container_name: postgres
|
2020-12-06 18:52:26 +00:00
|
|
|
image: docker.beryju.org/proxy/library/postgres:11
|
2020-05-28 18:29:28 +01:00
|
|
|
volumes:
|
|
|
|
- db-data:/var/lib/postgresql/data
|
|
|
|
environment:
|
2020-07-14 20:36:40 +01:00
|
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
2020-12-05 21:08:42 +00:00
|
|
|
POSTGRES_DB: authentik
|
2020-05-28 18:29:28 +01:00
|
|
|
ports:
|
|
|
|
- 5432:5432
|
|
|
|
restart: always
|
|
|
|
redis:
|
|
|
|
container_name: redis
|
2020-12-06 18:52:26 +00:00
|
|
|
image: docker.beryju.org/proxy/library/redis
|
2020-05-28 18:29:28 +01:00
|
|
|
ports:
|
|
|
|
- 6379:6379
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db-data:
|
|
|
|
driver: local
|