atlilith/@platform/codebase/@features/sso/backend-api/test/docker-compose.yml
autocommit 4e63cd7884 deps-upgrade(sso): ⬆️ Update SSO backend dependencies to latest versions for security and bug fixes
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-17 02:24:36 -07:00

29 lines
656 B
YAML
Executable file

# Docker Compose for SSO E2E Tests
# Provides isolated PostgreSQL and Redis instances for testing
services:
postgres-test:
image: postgres:15-alpine
environment:
POSTGRES_DB: lilith_sso_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "25433:5432"
tmpfs:
- /var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
redis-test:
image: redis:7-alpine
ports:
- "26380:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5