-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
67 lines (62 loc) · 1.47 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
version: '3'
services:
redis:
image: redis:7.2.3
container_name: PhocaFormeRedis
ports:
- "6379:6379"
volumes:
- redis-data:/data
mariadb:
image: mariadb:10.11.6
container_name: PhocaFormeMariaDB
ports:
- "3306:3306"
volumes:
- mariadb-data:/lib/var/mysql
environment:
MARIADB_DATABASE: ${DB_NAME}
MARIADB_USER: ${DB_USER_NAME}
MARIADB_PASSWORD: ${DB_USER_PASSWORD}
MARIADB_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
TZ: Asia/Seoul
rabbitmq:
image: rabbitmq:management
container_name: PhocaFormeRabbitMQ
ports:
- "5672:5672" # RabbitMQ server
- "15672:15672" # Management interface
restart: unless-stopped
elasticsearch:
image: elasticsearch:8.12.0
container_name: PhocaFormeElasticsearch
environment:
- node.name=es-node-1
- cluster.name=es-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata1:/usr/share/elasticsearch/data
ports:
- "9200:9200"
- "9300:9300"
kibana:
image: kibana:8.12.0
container_name: PhocaFormeKibana
ports:
- "5601:5601"
depends_on:
- elasticsearch
environment:
ELASTICSEARCH_URL: http://localhost:9200
ELASTICSEARCH_HOSTS: http://localhost:9200
volumes:
redis-data:
mariadb-data:
esdata1:
driver: local