forked from republik/plattform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (48 loc) · 1.4 KB
/
docker-compose.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
version: '3.4'
services:
elastic:
# in order to get elastic to work, see https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-cli-run-prod-mode
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.2
container_name: elasticsearch
environment:
- cluster.routing.allocation.disk.threshold_enabled=false
- 'ES_JAVA_OPTS=-Xms1024m -Xmx1024m'
- ELASTIC_PASSWORD=elastic
- 'discovery.type=single-node'
- TAKE_FILE_OWNERSHIP=true
- xpack.security.enabled=false
# - 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:
- ./docker-data/elastic:/usr/share/elasticsearch/data:delegated
ports:
- 9200:9200
kibana:
image: docker.elastic.co/kibana/kibana:7.16.2
container_name: kibana
ports:
- 5601:5601
depends_on:
- elastic
redis:
image: redis:4.0.14-alpine
ports:
- 6379:6379
volumes:
- ./docker-data/redis:/data:delegated
postgres:
image: postgres:12.7
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- ./docker-data/postgres:/var/lib/postgresql/data:delegated
ports:
- 5432:5432
command: ['postgres', '-c', 'log_statement=all']