-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-with-opensearch.yaml
102 lines (96 loc) · 2.49 KB
/
docker-compose-with-opensearch.yaml
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: "3.4"
services:
opensearch:
image: 'opensearchproject/opensearch:2.17.0'
container_name: opensearch
environment:
- 'DISABLE_SECURITY_PLUGIN=true'
- discovery.type=single-node
- http.port=9200
- bootstrap.memory_lock=true
- ES_JAVA_OPTS=-Xms512m -Xmx512m
ports:
- '9200:9200'
- '9600:9600'
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- './data:/usr/share/opensearch/data'
networks:
- reactivesearch_network
zinc:
image: public.ecr.aws/zinclabs/zinc:latest
container_name: zinc
restart: always
user: root
environment:
- ZINC_FIRST_ADMIN_USER=admin
- ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123
- ZINC_DATA_PATH="/data"
ports:
- "4080:4080"
volumes:
- "zinc-data:/data"
networks:
- reactivesearch_network
reactivesearch-api:
container_name: rs-api
image: appbaseio/reactivesearch-api:8.22.5
restart: always
environment:
- PIPELINE_LOG_FILE_PATH=/reactivesearch-data/pipeline.json
- USERNAME=rs-admin-user
- PASSWORD=rs-password
- APPBASE_ID=${ENTER_YOUR_APPBASE_ID}
- ES_CLUSTER_URL=http://opensearch:9200
command: --env="/reactivesearch-data/.env" --log=info
volumes:
- "reactivesearch-data:/reactivesearch-data"
ports:
- 8000:8000
networks:
- reactivesearch_network
nginx:
container_name: nginx
image: nginx:1.17-alpine
restart: always
volumes:
- ./nginx/default.conf:/etc/nginx/nginx.conf
- ./reactivesearch-logo.svg:/etc/nginx/html/reactivesearch-logo.svg
- ./nginx/certs:/etc/ssl/certs/
- ./nginx/error.html:/etc/nginx/html/50x.html
- "www:/var/www/html"
ports:
- 80:80
- 443:443
networks:
- reactivesearch_network
fluentbit:
image: fluent/fluent-bit:1.9.10
user: root
container_name: fluentbit
command: /fluent-bit/bin/fluent-bit -c /fluent-bit/etc/fluent-bit.conf
depends_on:
- "reactivesearch-api"
restart: always
volumes:
- "./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf"
- "./parser.conf:/fluent-bit/etc/parser.conf"
- "reactivesearch-data:/reactivesearch-data"
networks:
- reactivesearch_network
volumes:
reactivesearch-data:
external: false
name: reactivesearch-data
www:
external: false
name: www
zinc-data:
external: false
name: zinc-data
networks:
reactivesearch_network:
driver: bridge