-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (56 loc) · 1.36 KB
/
docker-compose.yml
File metadata and controls
61 lines (56 loc) · 1.36 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: "3"
services:
analysis_service:
container_name: analysis_service
image: vectornguyen76/analysis_service
build:
context: ./analysis_service
dockerfile: Dockerfile
volumes:
- ./analysis_service/logs:/app/logs
- ./analysis_service/candidate_cv:/app/candidate_cv
frontend_service:
container_name: resume_ranking_frontend
image: vectornguyen76/resume_ranking_frontend
build:
context: ./frontend
dockerfile: Dockerfile
command: npm start
# ports:
# - 3000:3000
backend_service:
container_name: resume_ranking_backend
image: vectornguyen76/resume_ranking_backend
build:
context: ./backend
dockerfile: Dockerfile
env_file:
- ./backend/.env.local
# ports:
# - 5000:5000
restart: on-failure
volumes:
- ./backend/logs:/app/logs
depends_on:
- mongo_db
mongo_db:
container_name: mongo_db
image: mvertes/alpine-mongo:latest
volumes:
- mongo_data:/data/db/
restart: always
ports:
- 27017:27017
nginx_service:
container_name: resume_ranking_nginx
image: nginx:1.25.1-alpine
ports:
- 80:80
volumes:
- ./nginx/develop.conf:/etc/nginx/conf.d/default.conf
- ./nginx/log:/var/log/nginx/
depends_on:
- backend_service
- frontend_service
volumes:
mongo_data: