-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (50 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
54 lines (50 loc) · 1.15 KB
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
version: '3.8'
services:
elasticsearch:
image: 'docker.elastic.co/elasticsearch/elasticsearch:7.13.4'
container_name: elasticsearch
environment:
- xpack.security.enabled=false
- discovery.type=single-node
- bootstrap.memory_lock=true
- ES_JAVA_OPTS=-Xms512m -Xmx512m
ulimits:
memlock:
soft: -1
hard: -1
ports:
- '9200:9200'
kibana:
image: 'docker.elastic.co/kibana/kibana:7.13.4'
depends_on:
- elasticsearch
ports:
- '5601:5601'
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
database:
build:
context: .
dockerfile: PostgresDockerfile
container_name: database
ports:
- '5432:5432'
environment:
- POSTGRES_PASSWORD=postgres
redis:
image: 'redis:alpine'
container_name: redis
ports:
- '6379:6379'
pgsync:
build:
context: .
dockerfile: PgsyncDockerfile
container_name: pgsync
environment:
- PG_USER=postgres
- PG_PASSWORD=postgres
- PG_DATABASE=postgres
- PG_HOST=database
- ELASTICSEARCH_HOST=elasticsearch
- REDIS_HOST=redis