-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (56 loc) · 1.21 KB
/
docker-compose.yml
File metadata and controls
61 lines (56 loc) · 1.21 KB
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
version: '2'
services:
node:
image: node:6
user: node
working_dir: /home/node/app
environment:
- NODE_ENV=development
- MONGO_URI=mongodb://mongodb/crowi
- REDIS_URL=redis://redis:6379
- ELASTICSEARCH_URI=elasticsearch:9200
- PLANTUML_URI=//localhost:8080
- FILE_UPLOAD=local
volumes:
- ./crowi:/home/node/app
ports:
- '3000:3000'
command: "npm start"
depends_on:
- mongodb
- elasticsearch
- redis
- plantuml
mongodb:
image: mongo:latest
volumes:
- './data/mongodb:/data/db'
restart: always
ports:
- '27017:27017'
elasticsearch:
build:
context: 'elasticsearch/'
volumes:
- './data/elasticsearch:/usr/share/elasticsearch/data'
restart: always
ports:
- '9200:9200'
- '9300:9300'
# elasticsearch-v2:
# build:
# context: 'elasticsearch-v2/'
# volumes:
# - './data/elasticsearch-v2:/usr/share/elasticsearch/data'
# restart: always
# ports:
# - '9201:9200'
# - '9301:9300'
redis:
image: redis:latest
ports:
- '6379:6379'
plantuml:
image: plantuml/plantuml-server:latest
ports:
- '8080:8080'