-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (48 loc) · 1.04 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
version: '3'
services:
hnv-db:
image: neo4j:4.2
ports:
- "7474:7474"
- "7687:7687"
volumes:
- ./data/neo4j/conf:/conf
- ./data/neo4j/plugins:/plugins
- ./data/neo4j/data:/data
env_file: env
user: 1000:1000
hnv-backend:
build: backend
depends_on:
- hnv-db
env_file: env
entrypoint: ["./wait-for-it.sh", "hnv-db:7687", "--timeout=0", "--", "java", "-jar", "backend.jar"]
hnv-apidoc:
image: swaggerapi/swagger-ui
depends_on:
- hnv-backend
environment:
- API_URL=/api/apidoc.yaml
hnv-redis:
image: redis
volumes:
- ./data/redis:/data
env_file: env
user: 1000:1000
command: redis-server --appendonly yes
hnv-cytoscape-backend:
build: cytoscape-backend
environment:
- NODE_ENV=production
env_file: env
depends_on:
- hnv-backend
- hnv-redis
hnv-frontend:
build: .
volumes:
- ./frontend/web:/usr/share/nginx/html
ports:
- "80:80"
depends_on:
- hnv-cytoscape-backend