platform-codebase/features/sso/backend-api/test/docker-compose.yml
Lilith e0288f0625 chore(attributes): 🔧 Update 27 YAML configuration files in attributes directory
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-01-31 17:52:27 -08: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