-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose_separate_dbs.yml
executable file
·121 lines (119 loc) · 3.46 KB
/
docker-compose_separate_dbs.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
version: '3'
networks:
par:
services:
par4sem:
build: .
restart: on-failure
networks:
par:
volumes:
- /Users/seidmuhieyimam/data/ph2vecmodel: /srv/data/semsch/models/w2v
- /Users/seidmuhieyimam/Desktop/tmp/tmp: /srv/data/semsch/models/wiki
- /Users/seidmuhieyimam/git/research/semsch/web/src/main/resources/datasets/cwi/raw/news: /srv/data/semsch/models/train
depends_on:
cwinews:
condition: service_healthy
par4sim:
condition: service_healthy
DT_wikipedia_trigram:
condition: service_healthy
simpleppdb:
condition: service_healthy
ppdb2:
condition: service_healthy
cwinews:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: dummy
MYSQL_DATABASE: par4sim
MYSQL_USER: dummy
MYSQL_PASSWORD: dummy
ports:
- "3307:3306"
volumes:
- ${PWD}/mysql-data/cwinews/:/var/lib/mysql
command: ["--character-set-server=utf8", "--collation-server=utf8_bin"]
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-pdummy", "-udummy"]
interval: 20s
timeout: 10s
retries: 10
networks:
par:
par4sim:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: dummy
MYSQL_DATABASE: par4sim
MYSQL_USER: dummy
MYSQL_PASSWORD: dummy
ports:
- "3308:3306"
volumes:
- ${PWD}/mysql-data/par4sim/:/var/lib/mysql
command: ["--character-set-server=utf8", "--collation-server=utf8_bin"]
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-pdummy", "-udummy"]
interval: 20s
timeout: 10s
retries: 10
networks:
par:
DT_wikipedia_trigram:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: dummy
MYSQL_DATABASE: DT_wikipedia_trigram
MYSQL_USER: dummy
MYSQL_PASSWORD: dummy
ports:
- "3309:3306"
volumes:
- ${PWD}/mysql-data/DT_wikipedia_trigram/:/var/lib/mysql
command: ["--character-set-server=utf8", "--collation-server=utf8_bin"]
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-pdummy", "-udummy"]
interval: 20s
timeout: 10s
retries: 10
networks:
par:
simpleppdb:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: dummy
MYSQL_DATABASE: simpleppdb
MYSQL_USER: dummy
MYSQL_PASSWORD: dummy
ports:
- "3340:3306"
volumes:
- ${PWD}/mysql-data/simpleppdb/:/var/lib/mysql
command: ["--character-set-server=utf8", "--collation-server=utf8_bin"]
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-pdummy", "-udummy"]
interval: 20s
timeout: 10s
retries: 10
networks:
par:
ppdb2:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: dummy
MYSQL_DATABASE: ppdb2
MYSQL_USER: dummy
MYSQL_PASSWORD: dummy
ports:
- "3341:3306"
volumes:
- ${PWD}/mysql-data/ppdb2/:/var/lib/mysql
command: ["--character-set-server=utf8", "--collation-server=utf8_bin"]
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-pdummy", "-udummy"]
interval: 20s
timeout: 10s
retries: 10
networks:
par: