overleaf/sso_test_server/authentikpostgresql/compose.yaml

33 lines
660 B
YAML
Raw Permalink Normal View History

2024-07-24 00:47:21 +02:00
services:
authentikpostgres:
image: "postgres:12-alpine"
container_name: "authentikpostgres"
hostname: "authentikpostgres"
restart: always
shm_size: 128mb
volumes:
- authentik_database:/var/lib/postgresql/data
ports:
- 6381:5432
environment:
POSTGRES_PASSWORD: ${ROOT_PASSWORD}
POSTGRES_USER: authentik
POSTGRES_DB: authentik
healthcheck:
test: ["CMD-SHELL", "sh -c 'pg_isready -U authentik -d authentik'"]
interval: 10s
timeout: 3s
retries: 3
networks:
- overleaf-network
volumes:
authentik_database:
networks:
overleaf-network:
external: true