-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
116 lines (116 loc) · 2.52 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
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
version: '3'
services:
web:
build: ./didauday-web
volumes:
- /app/node_modules
restart: always
dashboard:
build: ./didauday-dashboard
volumes:
- /app/node_modules
restart: always
tour:
build:
context: ./didauday-server/services/tour
dockerfile: Dockerfile
volumes:
- /app/node_modules
- ./didauday-server/services/tour:/app
depends_on:
- mongo
- neo4j
- redis
environment:
- PORT=5001
- NEO4J_PROTOCOL=bolt
- NEO4J_HOST=neo4j
- NEO4J_USERNAME=neo4j
- NEO4J_PASSWORD=annq
- NEO4J_PORT=7687
- MONGO_URL=mongodb://mongo:27017
- MONGO_DB_NAME=didauday
restart: always
user:
build:
context: ./didauday-server/services/user
dockerfile: Dockerfile
volumes:
- /app/node_modules
- ./didauday-server/services/user:/app
depends_on:
- mongo
- neo4j
- redis
environment:
- PORT=5002
- NEO4J_PROTOCOL=bolt
- NEO4J_HOST=neo4j
- NEO4J_USERNAME=neo4j
- NEO4J_PASSWORD=annq
- NEO4J_PORT=7687
- MONGO_URL=mongodb://mongo:27017
- MONGO_DB_NAME=didauday
restart: always
move-data:
build:
context: ./didauday-server/services/move-data
dockerfile: Dockerfile
volumes:
- /app/node_modules
- ./didauday-server/services/move-data:/app
depends_on:
- mongo
- neo4j
environment:
- NEO4J_PROTOCOL=bolt
- NEO4J_HOST=neo4j
- NEO4J_USERNAME=neo4j
- NEO4J_PASSWORD=annq
- NEO4J_PORT=7687
- MONGO_URL=mongodb://mongo:27017
- MONGO_DB_NAME=didauday
restart: always
server:
build:
context: ./didauday-server/gateway
dockerfile: Dockerfile
volumes:
- /app/node_modules
- ./didauday-server/gateway:/app
depends_on:
- tour
- user
environment:
- TOUR_URL=http://tour:5001/graphql
- USER_URL=http://user:5002/graphql
- PORT=5000
restart: always
mongo:
image: mongo
volumes:
- ./databases/mongo/db:/data/db
restart: always
neo4j:
image: neo4j
volumes:
- ./databases/neo4j/db:/data/db
environment:
- NEO4J_AUTH=neo4j/annq
restart: always
redis:
image: redis
volumes:
- ./databases/redis/db:/data/db
restart: always
web-server:
image: nginx:alpine
ports:
- "80:80"
volumes:
- ./web-server/conf.d:/etc/nginx/conf.d
restart: always
depends_on:
- web
- dashboard
- server