-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
72 lines (66 loc) · 1.51 KB
/
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
version: "3"
services:
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.4.1
environment:
OPENSEARCH_HOSTS: "http://opensearch-node-main:9200"
ports:
- 5601:5601
links:
- opensearch-node-main
networks:
- redash-searcher
opensearch-node-main:
image: opensearchproject/opensearch:2.4.1
environment:
- cluster.name=local-cluster
- node.name=main
- cluster.initial_master_nodes=main
- bootstrap.memory_lock=true
- http.host=0.0.0.0
- plugins.security.ssl.http.enabled=false
- transport.host=127.0.0.1
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- opensearch-node-main-data:/usr/share/opensearch/data
ports:
- 9200:9200
networks:
- redash-searcher
redash-searcher-sync:
restart: on-failure
build:
context: ./redash-searcher-sync
dockerfile: Dockerfile
env_file:
- .env.docker
environment:
- RUST_BACKTRACE=1
depends_on:
- opensearch-node-main
networks:
- redash-searcher
redash-searcher-web:
restart: on-failure
build:
context: ./redash-searcher-web
dockerfile: Dockerfile
env_file:
- .env.docker
ports:
- 3000:3000
depends_on:
- redash-searcher-sync
networks:
- redash-searcher
volumes:
opensearch-node-main-data:
networks:
redash-searcher: