forked from crowi/crowi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.development.yml
66 lines (62 loc) · 1.35 KB
/
docker-compose.development.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
version: '3'
services:
crowi:
build:
context: .
args:
NODE_ENV: development
tty: true
environment:
DEBUG: "crowi:*"
MONGO_URI: mongodb://mongodb:27017/crowi
REDIS_URL: redis://redis:6379/crowi
ELASTICSEARCH_URI: elasticsearch:9200/
PLANTUML_URI: //localhost:8080
FILE_UPLOAD: local
volumes:
- ./:/crowi
- /crowi/node_modules
ports:
- 3000:3000
links:
- mongodb
- elasticsearch
- redis
- plantuml
command: bash -c "npm install && npm run dev"
mongodb:
image: mongo:3.6.3
volumes:
- ./data/mongodb:/data/db
restart: always
ports:
- 27017:27017
elasticsearch:
build:
context: ./elasticsearch
environment:
bootstrap.memory_lock: "true"
discovery.type: single-node
xpack.graph.enabled: "false"
xpack.ml.enabled: "false"
xpack.monitoring.enabled: "false"
xpack.security.enabled: "false"
xpack.watcher.enabled: "false"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./data/elasticsearch:/usr/share/elasticsearch/data
ports:
- 9200:9200
redis:
image: redis:4.0.8
restart: always
ports:
- 6379:6379
plantuml:
image: plantuml/plantuml-server:latest
restart: always
ports:
- 8080:8080