forked from weseek/growi-docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
53 lines (47 loc) · 1.13 KB
/
docker-compose.dev.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:
mongo:
image: mongo:3.6
ports:
- 27017:27017
volumes:
- mongo_configdb:/data/configdb
- mongo_db:/data/db
elasticsearch:
build:
context: ./elasticsearch
dockerfile: ./Dockerfile
ports:
- 9200:9200
environment:
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- es_data:/usr/share/elasticsearch/data
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
elasticsearch-head:
image: mobz/elasticsearch-head:5-alpine
ports:
- 9100:9100
hackmd:
build:
context: ./hackmd
environment:
- GROWI_URI=http://localhost:3000
# define 'storage' option value
# see https://github.com/sequelize/cli/blob/7160d0/src/helpers/config-helper.js#L192
- HMD_DB_URL=sqlite://dummyhost/hackmd/sqlite/codimd.db
- HMD_CSP_ENABLE=false
ports:
- 3010:3000
volumes:
- sqlite_db:/files/sqlite
volumes:
mongo_configdb:
mongo_db:
es_data:
sqlite_db: