-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.evaluation.yml
54 lines (50 loc) · 1.08 KB
/
docker-compose.evaluation.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
version: "2.1"
services:
frontend:
container_name: frontend
image: immihendrix/ideal-spork:frontend-evaluation
depends_on:
- solr
- evalserver
links:
- solr
- evalserver
environment:
- COMPOSE_HTTP_TIMEOUT = 120
ports:
- "8080:80"
evalserver:
container_name: evalserver
image: immihendrix/ideal-spork:evaluation
# depends_on:
# evaluation_db:
# condition: service_healthy
# links:
# - evaluation_db
ports:
- "3000:3000"
volumes:
- db:/app/evaluation.sqlite
# evaluation_db:
# container_name: evaluation_db
# image: mysql:5
# environment:
# - MYSQL_ROOT_PASSWORD=root
# - MYSQL_DATABASE=evaluation
# - MYSQL_USER=spork
# - MYSQL_PASSWORD=ABBAIT
# ports:
# - "3306:3306"
# volumes:
# - evaluation_db:/var/lib/mysql
# healthcheck:
# test: "mysql -uroot -proot -e 'use evaluation'"
# timeout: 20s
# retries: 10
solr:
container_name: solr
image: immihendrix/ideal-spork:solr
ports:
- "8983:8983"
volumes:
db: