# Environment Variables

<table><thead><tr><th width="170">Variable Name</th><th width="97">Type</th><th width="231">Relevance</th><th width="104">Required</th><th>Default</th></tr></thead><tbody><tr><td>ES_ELASTIC</td><td>String</td><td>Elasticsearch super-user password</td><td>Yes</td><td>dev_password_only</td></tr><tr><td>ES_KIBANA_SYSTEM</td><td>String</td><td>The password for the user Kibana used to connect and communicate with Elasticsearch</td><td>Yes</td><td>dev_password_only</td></tr><tr><td>ES_LOGSTASH_SYSTEM</td><td>String</td><td>The password for the user Logstash used to map and transform the data before storing it in Elasticsearch</td><td>Yes</td><td>dev_password_only</td></tr><tr><td>ES_BEATS_SYSTEM</td><td>String</td><td>The password for the user the Beats use when storing monitoring information in Elasticsearch</td><td>Yes</td><td>dev_password_only</td></tr><tr><td>ES_REMOTE_MONITORING_USER</td><td>String</td><td>The password for the user Metricbeat used when collecting and storing monitoring information in Elasticsearch. It has the remote_monitoring_agent and remote_monitoring_collector built-in roles</td><td>Yes</td><td>dev_password_only</td></tr><tr><td>ES_APM_SYSTEM</td><td>String</td><td>The password for the user of the APM server used when storing monitoring information in Elasticsearch</td><td>Yes</td><td>dev_password_only</td></tr><tr><td>ES_LEADER_NODE</td><td>String</td><td><p>Specify the leader service name (the service name in case single mode and the leader service name in case cluster mode)</p><p>This is used for the config importer. Specifying the service name to initialize the mapping inside Elasticsearch</p></td><td>Yes</td><td>analytics-datastore-elastic-search</td></tr><tr><td>ES_HEAP_SIZE</td><td>String</td><td><p>The heap size is the amount of RAM allocated to the Java Virtual Machine of a node in Elasticsearch</p><p>It should be set -Xms and -Xmx to the same value (50% of the total available RAM to a maximum of 31GB)</p></td><td>No</td><td>-Xms2048m -Xmx2048m</td></tr><tr><td>ES_SSL</td><td>Boolean</td><td>This variable is used only for the config importer of Elasticsearch (internal connection between docker services the elastic and the importer)</td><td>No</td><td>false</td></tr><tr><td>ES_MEMORY_LIMIT</td><td>String</td><td>RAM usage limit of Elasticsearch service</td><td>No</td><td>3G</td></tr><tr><td>ES_MEMORY_RESERVE</td><td>String</td><td>Reserved RAM for Elasticsearch service</td><td>No</td><td>500M</td></tr><tr><td>ES_PATH_REPO</td><td>String</td><td>The path to the repository in the container to store Elasticsearch backup snapshots</td><td>No</td><td>/backups/elasticsearch</td></tr></tbody></table>
