2023-02-24 17:04:37 +00:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
frontend:
|
|
|
|
build: ./frontend
|
2023-03-01 14:16:11 +00:00
|
|
|
environment:
|
|
|
|
- API_HOST=http://backend:5001
|
2023-02-24 17:04:37 +00:00
|
|
|
ports:
|
|
|
|
- "5173:5173"
|
2023-03-13 14:20:03 +00:00
|
|
|
depends_on:
|
|
|
|
- backend
|
2023-02-24 17:04:37 +00:00
|
|
|
|
|
|
|
backend:
|
|
|
|
build: ./application
|
|
|
|
ports:
|
2023-02-28 11:59:37 +00:00
|
|
|
- "5001:5001"
|
2023-03-13 14:20:03 +00:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- mongo
|
2023-02-28 11:59:37 +00:00
|
|
|
|
2023-03-13 14:20:03 +00:00
|
|
|
redis:
|
|
|
|
image: redis:6-alpine
|
|
|
|
ports:
|
|
|
|
- 6379:6379
|
|
|
|
|
|
|
|
mongo:
|
|
|
|
image: mongo:6
|
|
|
|
ports:
|
|
|
|
- 27017:27017
|
|
|
|
volumes:
|
|
|
|
- mongodb_data_container:/data/db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
mongodb_data_container:
|