You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DocsGPT/docker-compose.yaml

45 lines
709 B
YAML

2 years ago
version: "3.9"
services:
frontend:
build: ./frontend
2 years ago
environment:
- API_HOST=http://backend:5001
2 years ago
ports:
- "5173:5173"
depends_on:
- backend
2 years ago
backend:
build: ./application
ports:
- "5001:5001"
2 years ago
volumes:
- app_data_container:/app
depends_on:
- redis
- mongo
worker:
build: ./application
command: celery -A app.celery worker -l info
depends_on:
- redis
- mongo
redis:
image: redis:6-alpine
ports:
- 6379:6379
mongo:
image: mongo:6
ports:
- 27017:27017
volumes:
- mongodb_data_container:/data/db
volumes:
2 years ago
mongodb_data_container:
app_data_container: