25 lines
661 B
YAML
25 lines
661 B
YAML
services:
|
|
# ---------------------------------
|
|
# Your reverse-proxy service here:
|
|
# caddy, traefik, nginx, etc.
|
|
# ---------------------------------
|
|
|
|
voidauth:
|
|
image: voidauth/voidauth:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${CONFIG_ROOT}/voidauth/config:/app/config
|
|
depends_on:
|
|
voidauth-db:
|
|
condition: service_healthy
|
|
|
|
voidauth-db:
|
|
image: postgres:18
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_PASSWORD: # required, same as voidauth DB_PASSWORD
|
|
volumes:
|
|
- ${CONFIGROOT}/voidauth/db:/var/lib/postgresql/18/docker
|
|
healthcheck:
|
|
test: "pg_isready -U postgres -h localhost"
|