-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.override.yml.example
60 lines (53 loc) · 1.29 KB
/
docker-compose.override.yml.example
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
version: '2'
services:
web:
build:
context: .
args:
REQFILE: requirements-dev.txt
volumes:
- .:/var/local/scratch
entrypoint: ["/usr/bin/tail", "-f", "/dev/null"]
async:
volumes:
- .:/var/local/scratch
cron:
image: scratch
build: .
smtp:
image: eaudeweb/mailtrap
container_name: scratch.smtp
ports:
- 80:80
elasticsearch_test:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.1
container_name: scratch.elasticsearch_test
environment:
- discovery.type=single-node
- http.port=9200
- http.cors.enabled=true
- http.cors.allow-origin=http://localhost:1358,http://127.0.0.1:1358
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
- http.cors.allow-credentials=true
- bootstrap.system_call_filter=false
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 2g
volumes:
- esdata_test:/usr/share/elasticsearch/data
ports:
- 9201:9200
dejavu:
image: appbaseio/dejavu
container_name: scratch.dejavu
ports:
- 1358:1358
links:
- elasticsearch
volumes:
esdata_test:
driver: local