Create compose.yaml
This commit is contained in:
parent
a2a8edaaf0
commit
eb664d7199
1 changed files with 20 additions and 0 deletions
20
ubuntu/postgresql_authentik/compose.yaml
Normal file
20
ubuntu/postgresql_authentik/compose.yaml
Normal 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:
|
||||||
|
|
Loading…
Reference in a new issue