services: app: build: context: . environment: AGENT: ${AGENT:-on} APP_ORIGIN: ${APP_ORIGIN:-http://127.0.0.1:8787} DATABASE_URL: postgresql://chopin:chopin@${SERVICE_NAME_DB:-db}:5432/chopin?sslmode=disable GITHUB_APP_SLUG: ${GITHUB_APP_SLUG:-} GITHUB_APP_CLIENT_ID: ${GITHUB_APP_CLIENT_ID:-} GITHUB_APP_CLIENT_SECRET: ${GITHUB_APP_CLIENT_SECRET:-} GITHUB_ALLOWED_USERS: ${GITHUB_ALLOWED_USERS:-} GITHUB_ALLOWED_ORGANIZATIONS: ${GITHUB_ALLOWED_ORGANIZATIONS:-} MODEL: ${MODEL:-claude-sonnet-4.6} SERVICE_URL_APP_8787: SESSION_ENCRYPTION_KEY: ${SESSION_ENCRYPTION_KEY:-} STORAGE_DRIVER: postgres depends_on: db: condition: service_healthy expose: - "8787" restart: unless-stopped stop_grace_period: 15s db: image: postgres:17-alpine environment: POSTGRES_DB: chopin POSTGRES_USER: chopin POSTGRES_PASSWORD: chopin healthcheck: test: ["CMD-SHELL", "pg_isready -U chopin -d chopin"] interval: 2s timeout: 3s retries: 15 volumes: - postgres-data:/var/lib/postgresql/data db-e2e: profiles: ["test"] image: postgres:17-alpine environment: POSTGRES_DB: chopin POSTGRES_USER: chopin POSTGRES_PASSWORD: chopin healthcheck: test: ["CMD-SHELL", "pg_isready -U chopin -d chopin"] interval: 2s timeout: 3s retries: 15 tmpfs: - /var/lib/postgresql/data db-e2e-fixtures: profiles: ["test"] image: postgres:17-alpine environment: POSTGRES_DB: chopin POSTGRES_USER: chopin POSTGRES_PASSWORD: chopin healthcheck: test: ["CMD-SHELL", "pg_isready -U chopin -d chopin"] interval: 2s timeout: 3s retries: 15 tmpfs: - /var/lib/postgresql/data volumes: postgres-data: