Skip to content

Commit 3ce42c9

Browse files
committed
Merge branch 'main' of github.com:c-neto/my-devops-labs
2 parents 196822c + 1faff88 commit 3ce42c9

File tree

5 files changed

+52
-0
lines changed

5 files changed

+52
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
services:
2+
3+
opensearch:
4+
container_name: opensearch
5+
build:
6+
context: opensearch/
7+
args:
8+
TAG_VERSION: "3.0.0"
9+
volumes:
10+
- ./opensearch/opensearch.yml:/usr/share/opensearch/config/opensearch.yml:ro
11+
network_mode: host
12+
environment:
13+
TIMEZONE: America/Sao_Paulo
14+
TZ: America/Sao_Paulo
15+
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
16+
OPENSEARCH_INITIAL_ADMIN_PASSWORD: "B'*~/~=[y5Rqxm!Yo>?P:'5Ia~n/[3eD"
17+
18+
opensearch-dashboards:
19+
container_name: opensearch-dashboards
20+
build:
21+
context: opensearch-dashboards/
22+
args:
23+
TAG_VERSION: "3.0.0"
24+
volumes:
25+
- ./opensearch-dashboards/opensearch_dashboards.yml:/usr/share/opensearch-dashboards/config/opensearch_dashboards.yml
26+
network_mode: host
27+
environment:
28+
TIMEZONE: America/Sao_Paulo
29+
TZ: America/Sao_Paulo
30+
depends_on:
31+
- opensearch
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ARG TAG_VERSION
2+
FROM opensearchproject/opensearch-dashboards:${TAG_VERSION}
3+
RUN /usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin remove securityDashboards
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/config/opensearch_dashboards.yml
2+
3+
server.port: 5601
4+
server.host: "0.0.0.0"
5+
server.ssl.enabled: false
6+
7+
opensearch.hosts: ["http://0.0.0.0:9200"]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ARG TAG_VERSION
2+
FROM opensearchproject/opensearch:${TAG_VERSION}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
cluster.name: docker-cluster
2+
discovery.type: single-node
3+
network.host: 0.0.0.0
4+
5+
plugins.security.disabled: true
6+
plugins.security.allow_unsafe_democertificates: false
7+
8+
# https://docs.opensearch.org/docs/latest/install-and-configure/configuring-opensearch/experimental/
9+
opensearch.experimental.feature.extensions.enabled: true

0 commit comments

Comments
 (0)