-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
80 lines (79 loc) · 1.86 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
version: '3.7'
services:
base:
image: chronocorpus
build:
context: ./
dockerfile: Dockerfile_computation-service
chronopress:
container_name: chrono-chronopress
build: ./chronopress
depends_on:
- base
volumes:
- ./chronopress/config.ini:/home/worker/config.ini
- ./chronopress/chronopress:/home/worker/ccl
- ./chronopress/data:/home/worker/data
working_dir: /home/worker/
entrypoint:
- java
- -Xms4g
- -Xmx24g
- -jar
- chronocorpus.jar
restart: always
monco:
container_name: chrono-monco
build: ./monco
depends_on:
- base
volumes:
- ./monco/config.ini:/home/worker/config.ini
- ./monco/chronopress:/home/worker/ccl
- ./monco/data:/home/worker/data
working_dir: /home/worker/
entrypoint:
- java
- -Xms4g
- -Xmx24g
- -jar
- chronocorpus.jar
restart: always
climate:
container_name: chrono-climate
build: ./climate
depends_on:
- base
volumes:
- ./climate/config.ini:/home/worker/config.ini
- ./climate/climate:/home/worker/ccl
- ./climate/data:/home/worker/data
working_dir: /home/worker/
entrypoint:
- java
- -Xms2g
- -Xmx14g
- -jar
- chronocorpus.jar
restart: always
rest:
container_name: chrono-rest
build:
context: ./
dockerfile: Dockerfile_rest-service
ports:
- "8080:8080"
volumes:
- ./rest-service/config.ini:/home/worker/config.ini
working_dir: /home/worker/
entrypoint:
- java
- -jar
- RESTchronocorpus.jar
restart: always
frontend:
container_name: chrono-frontend
build: ./frontend
ports:
- "80:80"
restart: always