-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
57 lines (53 loc) · 1.49 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
52
53
54
55
56
57
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:6.2-alpine
ports:
- 6379:6379
volumes:
- ./docker-data/redis:/data:delegated
postgres:
image: postgres:14.11
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- ./docker-data/postgres:/var/lib/postgresql/data:delegated
ports:
- 5432:5432
command: ['postgres', '-c', 'log_statement=all']
mailhog:
image: mailhog/mailhog:v1.0.1
ports:
- 1025:1025
- 8025:8025