64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
api:
|
|
build:
|
|
context: ./api
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
- DATABASE_URL=postgresql://jira:jira@postgres:5432/jira_fixer
|
|
- REDIS_URL=redis://redis:6379
|
|
- QDRANT_URL=http://qdrant:6333
|
|
env_file:
|
|
- .env
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
- qdrant
|
|
volumes:
|
|
- ./api:/app
|
|
command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload
|
|
|
|
portal:
|
|
build:
|
|
context: ./portal
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ./portal:/app
|
|
- /app/node_modules
|
|
command: npm run dev
|
|
|
|
postgres:
|
|
image: postgres:15-alpine
|
|
environment:
|
|
- POSTGRES_USER=jira
|
|
- POSTGRES_PASSWORD=jira
|
|
- POSTGRES_DB=jira_fixer
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- redis_data:/data
|
|
|
|
qdrant:
|
|
image: qdrant/qdrant:v1.7.4
|
|
ports:
|
|
- "6333:6333"
|
|
volumes:
|
|
- qdrant_data:/qdrant/storage
|
|
|
|
volumes:
|
|
postgres_data:
|
|
redis_data:
|
|
qdrant_data:
|