Skip to content

Instantly share code, notes, and snippets.

@jfayad
Last active April 21, 2026 17:46
Show Gist options
  • Select an option

  • Save jfayad/4e52fe526a0a35f3a8b61dd77e1e6288 to your computer and use it in GitHub Desktop.

Select an option

Save jfayad/4e52fe526a0a35f3a8b61dd77e1e6288 to your computer and use it in GitHub Desktop.
Zaq Local - Quick setup
services:
paradedb:
image: paradedb/paradedb:0.23.0
container_name: zaq-paradedb
environment:
POSTGRES_DB: zaq_prod
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- pgdata:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d zaq_prod"]
interval: 5s
timeout: 5s
retries: 20
restart: unless-stopped
zaq:
image: ghcr.io/www-zaq-ai/zaq:latest
container_name: zaq-os
depends_on:
paradedb:
condition: service_healthy
ports:
- "4000:4000"
environment:
PHX_SERVER: "true"
PORT: "4000"
PHX_HOST: "localhost"
DATABASE_URL: "${DATABASE_URL:-ecto://postgres:postgres@paradedb:5432/zaq_prod}"
SECRET_KEY_BASE: "${SECRET_KEY_BASE}"
INGESTION_VOLUMES: "${INGESTION_VOLUMES:-documents}"
INGESTION_VOLUMES_BASE: "${INGESTION_VOLUMES_BASE:-/zaq/volumes}"
SYSTEM_CONFIG_ENCRYPTION_KEY: "${SYSTEM_CONFIG_ENCRYPTION_KEY}"
volumes:
- ./ingestion-volumes:/zaq/volumes
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
volumes:
pgdata:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment