-
Notifications
You must be signed in to change notification settings - Fork 47
/
docker-compose.yml
68 lines (67 loc) · 1.6 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
version: '3'
services:
db:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: dbpassword_for_user
MYSQL_DATABASE: eval_server_development
MYSQL_USER: db_username
MYSQL_PASSWORD: dbpassword_for_user
restart: always
eval:
build: evaluationserver
restart: always
env_file: evaluationserver/env
command: "./bin/wait-for-it.sh db:3306 -s -t 30 -- ./bin/docker_start"
#volumes:
#- ./evaluationserver:/usr/src/app
ports:
- "8081:8081"
depends_on:
- db
frontend:
build: ui/
restart: always
volumes:
#- ./ui:/var/www/html/ui # uncomment only for ui development
- data-gen:/var/www/html/ui/data-gen
ports:
- "8082:80"
networks:
- default
depends_on:
- backend
backend:
build: generator2/org.getaviz.generator/
restart: always
volumes:
- data-gen:/var/lib/jetty/data-gen
#- ./generator2/org.getaviz.generator/target/org.getaviz.generator-1.0.0-SNAPSHOT.war:/var/lib/jetty/webapps/root.war # uncomment only for generator development
ports:
- "8083:8080"
networks:
- default
depends_on:
- neo4j
- volumes-provisioner
neo4j:
image: neo4j:3.5.1
restart: always
ports:
- "7474:7474"
- "7687:7687"
environment:
NEO4J_AUTH: "none"
networks:
- default
volumes-provisioner:
image: hasnat/volumes-provisioner
environment:
PROVISION_DIRECTORIES: "100:101:0755:/var/data /var/data/data-gen/"
volumes:
- data-gen:/var/data
volumes:
data-gen:
networks:
default:
driver: bridge