-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.env
More file actions
92 lines (73 loc) · 3.48 KB
/
example.env
File metadata and controls
92 lines (73 loc) · 3.48 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
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
# =============================================================================
# OpenSearch Docker Compose - Environment Variables
# =============================================================================
# Copy this file to .env and customize as needed:
# cp example.env .env
#
# SECURITY WARNING: Default passwords are provided for quick start only.
# Change ALL passwords before using in production!
# =============================================================================
# -----------------------------------------------------------------------------
# Docker Compose Project Configuration
# -----------------------------------------------------------------------------
COMPOSE_PROJECT_NAME=opensearch-cluster
# -----------------------------------------------------------------------------
# OpenSearch Version Configuration
# -----------------------------------------------------------------------------
# OpenSearch version (tag from opensearchproject/opensearch)
OPENSEARCH_VERSION=latest
# OpenSearch Dashboards version (tag from opensearchproject/opensearch-dashboards)
OPENSEARCH_DASHBOARDS_VERSION=latest
# -----------------------------------------------------------------------------
# OpenSearch Cluster Configuration
# -----------------------------------------------------------------------------
# Cluster name (must match across all nodes)
OPENSEARCH_CLUSTER_NAME=opensearch-cluster
# Initial admin password (CHANGE THIS IN PRODUCTION!)
OPENSEARCH_INITIAL_ADMIN_PASSWORD=admin
# Java heap size (should be ~50% of memory limit)
OPENSEARCH_JAVA_OPTS=-Xms2g -Xmx2g
# -----------------------------------------------------------------------------
# OpenSearch Resource Limits
# -----------------------------------------------------------------------------
# CPU limit per node
OPENSEARCH_CPU_LIMIT=4.0
# CPU reservation per node
OPENSEARCH_CPU_RESERVATION=2.0
# Memory limit per node
OPENSEARCH_MEMORY_LIMIT=4G
# Memory reservation per node
OPENSEARCH_MEMORY_RESERVATION=2G
# -----------------------------------------------------------------------------
# OpenSearch Network Ports
# -----------------------------------------------------------------------------
# Port for OpenSearch HTTP API (node1)
OPENSEARCH_PORT_1=9200
# Port for OpenSearch performance analyzer (node1)
OPENSEARCH_PORT_2=9600
# Port for OpenSearch Dashboards
OPENSEARCH_DASHBOARDS_PORT=5601
# -----------------------------------------------------------------------------
# OpenSearch Authentication (for Dashboards)
# -----------------------------------------------------------------------------
# Username for OpenSearch Dashboards connection
# SECURITY WARNING: Change this default password!
OPENSEARCH_USERNAME=admin
# Password for OpenSearch Dashboards connection
# SECURITY WARNING: Change this default password!
OPENSEARCH_PASSWORD=admin
# -----------------------------------------------------------------------------
# Certificate Configuration
# -----------------------------------------------------------------------------
# Certificate organization name (used in certificate subject)
# IMPORTANT: If you change this, you must also update the DN values in:
# - docker/opensearch/opensearch-node1.yml
# - docker/opensearch/opensearch-node2.yml
# Format: CN=<common-name>,O=<CERT_ORGANIZATION>,L=<CERT_LOCALITY>,ST=<CERT_STATE>,C=<CERT_COUNTRY>
CERT_ORGANIZATION=OpenSearch
# Certificate country code (ISO 3166-1 alpha-2)
CERT_COUNTRY=US
# Certificate state/province
CERT_STATE=CA
# Certificate locality/city
CERT_LOCALITY=San Francisco