-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (44 loc) · 1.06 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.5'
services:
elasticsearch:
container_name: elasticsearch
image: bitranger/elasticsearch:ik-7.12.1
environment:
- discovery.type=single-node
networks:
- chord
ports:
- "9200:9200"
- "9300:9300"
healthcheck:
test: [ "CMD", "curl", "http://localhost:9200" ]
interval: 1m30s
timeout: 10s
retries: 3
mysql:
container_name: mysql
image: mysql
networks:
- chord
ports:
- "3306:3306"
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
redis:
container_name: redis
image: redis
networks:
- chord
ports:
- "6379:6379"
zoo1:
image: zookeeper
restart: always
hostname: zoo1
ports:
- 2181:2181
networks:
chord:
driver: bridge