-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 830 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 830 Bytes
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
mongo:
image: mongo
ports:
- "27017:27017"
volumes:
- ./etc/mongodata:/data/db
# elastic:
# image: catholabs/elastic-with-marvel
# command: elasticsearch
# volumes:
# - etc/elasticdata:/usr/share/elasticsearch/data
# ports:
# - "9200:9200"
# mem_limit: 1000000000
web:
restart: always
image: quokka/quokkadev
working_dir: /quokka
ports:
- "5000:5000"
volumes:
- .:/quokka
links:
- mongo:mongo
# - elastic:elastic
command: sh etc/docker_wait_to_start.sh
environment:
- QUOKKA_MONGODB_HOST=mongo
- WAIT_COMMAND=$(nc -zv mongo 27017)
- WAIT_START_CMD=python manage.py runserver --host 0.0.0.0 --reloader --debug
- WAIT_SLEEP=3
- WAIT_LOOPS=50
mem_limit: 1000000000