-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
92 lines (90 loc) · 2.37 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: "3"
volumes:
mongodb_volume:
services:
nginx:
image: nginx:1
container_name: production_nginx
volumes:
- ./conf/nginx/router.conf:/etc/nginx/conf.d/default.conf
- ./conf/nginx/snippets:/etc/nginx/snippets
- ./conf/nginx/logs/:/var/log/nginx/
- /etc/letsencrypt/:/etc/letsencrypt/
ports:
- 80:80
- 443:443
restart: always
# certbot:
# container_name: certbot
# image: certbot/certbot
# volumes:
# - ./conf/nginx/data/certbot/conf/:/etc/letsencrypt/
# - ./conf/nginx/data/certbot/www/:/var/www/certbot/
# restart: always
# entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
tagger_client:
container_name: tagger_client
env_file: ./tagger/.env
build:
context: ./tagger/
dockerfile: ./Dockerfile
expose:
- "80"
ports:
- 2000:80
tagger_backend:
container_name: tagger_backend
env_file: ./tagger/.env
environment:
- MONGODB_HOST=mongodb
build:
context: ./tagger/
dockerfile: sources/server/Dockerfile
expose:
- "4000"
ports:
- 4000:4000
# restart: always
images_organizer:
container_name: images_organizer
build: ./
expose:
- "80"
ports:
- 3000:80
recognition_service:
container_name: recognition_service
build:
context: ./services
dockerfile: Dockerfile
expose:
- "5000"
ports:
- 5000:5000
restart: always
mongodb:
image: mongo:4.2.6
volumes:
- mongodb_volume:/data/db
restart: always
faceted_search:
container_name: faceted_search
environment:
- MONGODB_HOST=mongodb
- PORT=80
build:
context: ./faceted_search/
dockerfile: ./Dockerfile
expose:
- "8000"
ports:
- 8000:80
rcm:
container_name: rcm
build:
context: ./rcm
dockerfile: ./Dockerfile
expose:
- "3000"
ports:
- 3000:3000