Create compose.yaml

This commit is contained in:
David Rotermund 2024-07-12 15:05:11 +02:00 committed by GitHub
parent a2a8edaaf0
commit eb664d7199
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,20 @@
services:
postgresauth:
image: "postgres:12-alpine"
container_name: "postgres-authentik"
hostname: "postgres-authentik"
restart: always
shm_size: 128mb
volumes:
- database_authentik:/var/lib/postgresql/data
ports:
- 6381:5432
network_mode: bridge
environment:
POSTGRES_PASSWORD: ${MARIADB_ROOT_PASSWORD}
POSTGRES_USER: authentik
POSTGRES_DB: authentik
volumes:
database_authentik: