-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (64 loc) · 1.46 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
version: "3.7"
services:
postgres:
image: postgres:12.4
ports:
- "5440"
volumes:
- ./docker-postgres:/docker-entrypoint-initdb.d
environment:
- POSTGRES_DATABASES="performance_psql_sr_t0", "performance_psql_sr_t1", "performance_psql_sw_t0", "performance_psql_sw_t1"
- POSTGRES_USER=datahike
- POSTGRES_PASSWORD=clojure
mysql:
image: mysql:8.0
ports:
- "3306"
volumes:
- ./docker-mysql:/docker-entrypoint-initdb.d
environment:
- MYSQL_DATABASES=performance_mysql_sr_t0, performance_mysql_sr_t1, performance_mysql_sw_t0, performance_mysql_sw_t1
- MYSQL_USER=root
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_ONETIME_PASSWORD=clojure
benchmarks:
build: .
ports:
- "5000"
depends_on:
- postgres
- mysql
volumes:
- db:/tmp/output-db
- plots:/tmp/plots
- errors:/tmp/errors
- signals:/tmp/signals
links:
- postgres
- mysql
results:
build: ./result-presentation
ports:
- "4000"
depends_on:
- benchmarks
volumes:
- db:/tmp/output-db
- presentation:/tmp/presentation
- signals:/tmp/signals
volumes:
db:
external:
name: dh-benchmark-db
plots:
external:
name: dh-benchmark-plots
errors:
external:
name: dh-benchmark-errors
presentation:
external:
name: dh-benchmark-presentation
signals:
external:
name: dh-benchmark-signals