forked from mngoe/openimis-dist_dkr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.openSearch.yml
More file actions
39 lines (36 loc) · 1.22 KB
/
docker-compose.openSearch.yml
File metadata and controls
39 lines (36 loc) · 1.22 KB
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
#version: '3.7'
services:
opensearch:
build:
context: .
dockerfile: ./opensearch-configuration/Dockerfile-openSearch-dev-
env_file:
- ".env.openSearch"
environment:
- "discovery.type=${DISCOVERY_TYPE:-single-node}"
- "cluster.name=${CLUSTER_NAME:-my_opensearch_local}"
- "http.port=${OPEN_SEARCH_HTTP_PORT:-9200}"
- "plugins.security.ssl.http.enabled=${SLL_HTTP_ENABLED:-false}"
- "plugins.security.disabled=true"
volumes:
- "opensearch-data1:/usr/share/opensearch/data"
networks:
openimis-net:
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.9.0
container_name: ${PROJECT_NAME:-openimis}-opensearch-dashboards
environment:
- OPENSEARCH_HOSTS=${OPENSEARCH_HOSTS:-http://opensearch:9200}
- "DISABLE_SECURITY_DASHBOARDS_PLUGIN=true"
- SERVER_BASEPATH=/opensearch
- SERVER_REWRITEBASEPATH=true
volumes:
- "./conf/opensearch/opensearch.yml:/usr/share/opensearch-dashboards/config/opensearch.yml"
networks:
openimis-net:
volumes:
opensearch-data1:
# networks:
# openimis-net:
# name: "${PROJECT_NAME:-openimis}-net"
# external: true