# Local infra only (Postgres + Redis). Use root docker-compose.yml for full stack. services: postgres: image: postgres:16-alpine restart: unless-stopped environment: POSTGRES_USER: s2yt POSTGRES_PASSWORD: s2yt POSTGRES_DB: s2yt ports: - "127.0.0.1:5432:5432" volumes: - postgres_data:/var/lib/postgresql/data redis: image: redis:7-alpine restart: unless-stopped ports: - "127.0.0.1:6379:6379" command: ["redis-server", "--appendonly", "yes"] volumes: - redis_data:/data volumes: postgres_data: redis_data: