-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
78 lines (71 loc) · 1.58 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
version: '3.7'
services:
api:
build: .
container_name: kodemy_api_dev
profiles:
- test
ports:
- "8181:8080"
networks:
- lan
depends_on:
- postgres
- rabbitmq
postgres:
container_name: kodemy_postgres_dev
image: postgres:14.1-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: kodemy
ports:
- "5435:5432"
volumes:
- postgres_dev:/var/lib/postgresql/data
- ./sql:/sql
networks:
- lan
rabbitmq:
image: rabbitmq:3.8-management-alpine
container_name: kodemy_rabbitmq_dev
environment:
RABBITMQ_DEFAULT_USER: rabbitmq
RABBITMQ_DEFAULT_PASS: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
volumes:
- rabbitmq_dev:/var/lib/rabbitmq
networks:
- lan
opensearch:
image: opensearchproject/opensearch:2.8.0
container_name: kodemy_opensearch_dev
environment:
- discovery.type=single-node
- cluster.name=kodemy-cluster
- "DISABLE_SECURITY_PLUGIN=true"
ports:
- "9200:9200"
- "9300:9300"
volumes:
- opensearch_dev:/usr/share/opensearch/data
networks:
- lan
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.8.0
container_name: kodemy_opensearch_dashboards_dev
environment:
- 'OPENSEARCH_HOSTS=["http://opensearch:9200"]'
- "DISABLE_SECURITY_DASHBOARDS_PLUGIN=true"
ports:
- "5601:5601"
networks:
- lan
networks:
lan:
volumes:
postgres_dev:
rabbitmq_dev:
opensearch_dev: