mirror of
https://github.com/goauthentik/authentik
synced 2026-05-05 22:52:42 +02:00
41 lines
999 B
YAML
41 lines
999 B
YAML
services:
|
|
postgresql:
|
|
image: docker.io/library/postgres:${PSQL_TAG:-16}
|
|
volumes:
|
|
- db-data:/var/lib/postgresql
|
|
command: "-c log_statement=all"
|
|
environment:
|
|
POSTGRES_USER: authentik
|
|
POSTGRES_PASSWORD: "EK-5jnKfjrGRm<77"
|
|
POSTGRES_DB: authentik
|
|
PGDATA: /var/lib/postgresql/data/pgdata
|
|
ports:
|
|
- 5432:5432
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB} -h 127.0.0.1"]
|
|
interval: 1s
|
|
timeout: 5s
|
|
retries: 60
|
|
restart: always
|
|
s3:
|
|
container_name: s3
|
|
image: docker.io/zenko/cloudserver
|
|
environment:
|
|
REMOTE_MANAGEMENT_DISABLE: "1"
|
|
SCALITY_ACCESS_KEY_ID: accessKey1
|
|
SCALITY_SECRET_ACCESS_KEY: secretKey1
|
|
ports:
|
|
- 8020:8000
|
|
volumes:
|
|
- s3-data:/usr/src/app/localData
|
|
- s3-metadata:/usr/src/app/localMetadata
|
|
restart: always
|
|
|
|
volumes:
|
|
db-data:
|
|
driver: local
|
|
s3-data:
|
|
driver: local
|
|
s3-metadata:
|
|
driver: local
|