From 4b350f47f2fb60583a2ac9fbde64067261b24218 Mon Sep 17 00:00:00 2001 From: Tom Kendrick Date: Mon, 5 Jan 2026 23:14:46 +0000 Subject: [PATCH] feat: add void --- access_management/void/docker-compose.yml | 24 +++++++++++++++++++++++ access_management/void/example.env | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 access_management/void/docker-compose.yml create mode 100644 access_management/void/example.env diff --git a/access_management/void/docker-compose.yml b/access_management/void/docker-compose.yml new file mode 100644 index 0000000..7502f2c --- /dev/null +++ b/access_management/void/docker-compose.yml @@ -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" diff --git a/access_management/void/example.env b/access_management/void/example.env new file mode 100644 index 0000000..9f575cc --- /dev/null +++ b/access_management/void/example.env @@ -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