-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.override.dev.yml
62 lines (54 loc) · 1.24 KB
/
docker-compose.override.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
54
55
56
57
58
59
60
61
62
version: '2'
services:
web:
build:
context: .
args:
REQFILE: requirements-dev.txt
container_name: lcct.web
ports:
- "8000:8000"
environment:
- DJANGO_MANAGEPY_MIGRATE=on
- DJANGO_MANAGEPY_COLLECTSTATIC=off
- DJANGO_MANAGEPY_LOADFIXTURES=on
- GRUNT_TASK=dev
depends_on:
- db
volumes:
- .:/opt/lcct
entrypoint: ["/usr/bin/tail", "-f", "/dev/null"]
elasticsearch:
container_name: lcct.elastic
ports:
- "9200:9200"
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
elasticsearch_test:
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.1
container_name: lcct.elastic_test
ports:
- "9201:9200"
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
volumes:
- elastic_test:/usr/share/elasticsearch/data
db:
container_name: lcct.db
postfix:
image: eaudeweb/mailtrap:latest
container_name: lcct.mail
ports:
- "8025:80"
volumes:
elastic_test:
driver: local