-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
47 lines (43 loc) · 1012 Bytes
/
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
services:
mysql:
platform: linux/x86_64
image: mysql:8.0.36
container_name: mysql
hostname: mysql
command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci
ports:
- 3306:3306
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
TZ: "Asia/Tokyo"
volumes:
- mysql:/var/lib/mysql
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.6
container_name: elasticsearch
hostname: elasticsearch
environment:
discovery.type: "single-node"
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
rabbitmq:
image: rabbitmq:3.8.19-management
container_name: rabbitmq
hostname: rabbitmq
ports:
- 5672:5672
- 15672:15672
labels:
name: rabbitmq1
volumes:
mysql:
driver: local
elasticsearch-data:
driver: local