feat: add void

This commit is contained in:
2026-01-05 23:14:46 +00:00
parent 2e159c285b
commit 4b350f47f2
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
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"

View File

@@ -0,0 +1,4 @@
APP_URL: # required, ex. https://auth.example.com
STORAGE_KEY: # required
DB_PASSWORD: # required, same as voidauth-db POSTGRES_PASSWORD
DB_HOST: voidauth-db # required