Files
duocthu/infra/docker/docker-compose.yml
T

69 lines
1.6 KiB
YAML

# Local development topology. App services are commented out until their
# Dockerfiles exist (Phase 5) — infra services can be started standalone
# today for Phase 1 (ingestion) development, e.g.:
# docker compose up postgres qdrant redis
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: duoc_thu
POSTGRES_PASSWORD: duoc_thu
POSTGRES_DB: duoc_thu
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
qdrant:
image: qdrant/qdrant:latest
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant-data:/qdrant/storage
redis:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
- redis-data:/data
# ai-service:
# build: ../../apps/ai-service
# env_file: ../../apps/ai-service/.env
# ports: ["8000:8000"]
# depends_on: [qdrant]
#
# api-gateway:
# build: ../../apps/api-gateway
# env_file: ../../apps/api-gateway/.env
# ports: ["3000:3000"]
# depends_on: [auth-service, user-service, chat-service]
#
# auth-service:
# build: ../../apps/auth-service
# env_file: ../../apps/auth-service/.env
# depends_on: [postgres]
#
# user-service:
# build: ../../apps/user-service
# env_file: ../../apps/user-service/.env
# depends_on: [postgres]
#
# chat-service:
# build: ../../apps/chat-service
# env_file: ../../apps/chat-service/.env
# depends_on: [postgres, ai-service]
#
# web:
# build: ../../apps/web
# ports: ["3001:3000"]
# depends_on: [api-gateway]
volumes:
postgres-data:
qdrant-data:
redis-data: