-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (45 loc) · 1 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
services:
test-fileserver:
image: nginx:stable-alpine3.17-slim
restart: always
ports:
- 8081:8081
volumes:
- ./test-fileserver/data:/srv
- ./test-fileserver/nginx.conf:/etc/nginx/conf.d/default.conf
networks:
- fact-extractor
logging:
driver: "json-file"
options:
max-size: "10m"
fact-extractor-backend:
image: fact-extractor-backend:latest
command: uvicorn main:app --host 0.0.0.0 --port 8080 --reload
ports:
- "8080:8080"
env_file:
- ./backend/.env
volumes:
- ./backend/src:/app
networks:
- fact-extractor
logging:
driver: "json-file"
options:
max-size: "10m"
fact-extractor-frontend:
image: fact-extractor-frontend:latest
command: npm run start:dev
ports:
- "4200:4200"
volumes:
- ./frontend/src:/app/src
networks:
- fact-extractor
logging:
driver: "json-file"
options:
max-size: "10m"
networks:
fact-extractor: