services: app: image: git.fabledsword.com/bvandeusen/fabledscribe:latest environment: DATABASE_URL: "postgresql+asyncpg://scribe:${DB_PASSWORD}@db:5432/scribe" SECRET_KEY: "${SECRET_KEY}" LOG_LEVEL: "${LOG_LEVEL:-INFO}" TRUST_PROXY_HEADERS: "true" SECURE_COOKIES: "true" networks: - scribe_backend db: # Postgres 17 with the vector extension Scribe needs. image: pgvector/pgvector:pg17 stop_grace_period: 120s volumes: - pgdata:/var/lib/postgresql/data environment: POSTGRES_USER: scribe POSTGRES_PASSWORD: "${DB_PASSWORD}" POSTGRES_DB: scribe networks: - scribe_backend volumes: pgdata: networks: scribe_backend: driver: overlay