-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
87 lines (79 loc) · 1.99 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: '3.3'
services:
postgres:
container_name: postgres
image: postgres:12-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD:
PGDATA: /data/postgres
volumes:
- postgres-data:/data/postgres
ports:
- 5432:5432
networks:
- postgres
redis:
container_name: redis
image: redis:5.0.5-alpine
command: ['redis-server', '--appendonly', 'yes']
hostname: redis
volumes:
- redis-data:/data
ports:
- 6379:6379
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.3.1
environment:
ELASTIC_PASSWORD: elastic
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
- ./elasticsearch/jvm.options:/usr/share/elasticsearch/config/jvm.options
- ./elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
ports:
- 9200:9200
kibana:
container_name: kibana
image: docker.elastic.co/kibana/kibana:7.3.1
volumes:
- kibana-data:/usr/share/kibana/data
ports:
- 5601:5601
localstack:
container_name: localstack
image: localstack/localstack
network_mode: host
ports:
- "4567-4597:4567-4597"
- "${PORT_WEB_UI-8080}:${PORT_WEB_UI-8080}"
environment:
- SERVICES=${SERVICES- }
- DEBUG=${DEBUG- }
- DATA_DIR=${DATA_DIR- }
- PORT_WEB_UI=${PORT_WEB_UI- }
- LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR- }
- KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- localstack-data:/tmp/localstack
- /var/run/docker.sock:/var/run/docker.sock
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.13.0.1/16
postgres:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.14.0.1/16
volumes:
postgres-data:
redis-data:
elasticsearch-data:
kibana-data:
localstack-data: