ai-system / docker-compose.yml
Evogoatml's picture
fresh init
51c996c
raw
history blame contribute delete
391 Bytes
# docker-compose.yml
services:
api:
build: .
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
env_file: .env
ports: [ "8000:8000" ]
depends_on: [ db, redis ]
db:
image: pgvector/pgvector:pg16
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: ai
ports: [ "5432:5432" ]
redis:
image: redis:7
ports: [ "6379:6379" ]