-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
2,225 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
ELASTIC_VERSION=8.6.2 | ||
|
||
## Passwords for stack users | ||
# | ||
|
||
# User 'elastic' (built-in) | ||
# | ||
# Superuser role, full access to cluster management and data indices. | ||
# https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html | ||
ELASTIC_PASSWORD='admin123@' | ||
|
||
# User 'logstash_internal' (custom) | ||
# | ||
# The user Logstash uses to connect and send data to Elasticsearch. | ||
# https://www.elastic.co/guide/en/logstash/current/ls-security.html | ||
LOGSTASH_INTERNAL_PASSWORD='admin123@' | ||
|
||
# User 'kibana_system' (built-in) | ||
# | ||
# The user Kibana uses to connect and communicate with Elasticsearch. | ||
# https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html | ||
KIBANA_SYSTEM_PASSWORD='admin123@' | ||
|
||
# Users 'metricbeat_internal', 'filebeat_internal' and 'heartbeat_internal' (custom) | ||
# | ||
# The users Beats use to connect and send data to Elasticsearch. | ||
# https://www.elastic.co/guide/en/beats/metricbeat/current/feature-roles.html | ||
METRICBEAT_INTERNAL_PASSWORD='admin123@' | ||
FILEBEAT_INTERNAL_PASSWORD='admin123@' | ||
HEARTBEAT_INTERNAL_PASSWORD='admin123@' | ||
|
||
# User 'monitoring_internal' (custom) | ||
# | ||
# The user Metricbeat uses to collect monitoring data from stack components. | ||
# https://www.elastic.co/guide/en/elasticsearch/reference/current/how-monitoring-works.html | ||
MONITORING_INTERNAL_PASSWORD='admin123@' | ||
|
||
# User 'beats_system' (built-in) | ||
# | ||
# The user the Beats use when storing monitoring information in Elasticsearch. | ||
# https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html | ||
BEATS_SYSTEM_PASSWORD='admin123@' | ||
|
||
# RabbitMQ | ||
# | ||
RABBITMQ_DEFAULT_USER='rabbit' | ||
RABBITMQ_DEFAULT_PASS='admin123@' | ||
|
||
# Kafka | ||
# | ||
KAFKA_CLIENT_USERS='kafka' | ||
KAFKA_CLIENT_PASSWORDS='admin123@' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Ignore Docker build files | ||
Dockerfile | ||
.dockerignore | ||
|
||
# Ignore OS artifacts | ||
**/.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ARG ELASTIC_VERSION | ||
|
||
# https://www.docker.elastic.co/ | ||
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION} | ||
|
||
# Add your elasticsearch plugins setup here | ||
# Example: RUN elasticsearch-plugin install analysis-icu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
## Default Elasticsearch configuration from Elasticsearch base image. | ||
## https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/config/elasticsearch.yml | ||
# | ||
cluster.name: docker-cluster | ||
network.host: 0.0.0.0 | ||
|
||
node.name: elasticsearch | ||
|
||
discovery.type: single-node | ||
|
||
## X-Pack settings | ||
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html | ||
# | ||
xpack.license.self_generated.type: trial | ||
xpack.security.enabled: true | ||
|
||
## Set the built-in users' passwords. | ||
# Run the following command from the Elasticsearch directory: | ||
# ./bin/elasticsearch-setup-passwords interactive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Extensions | ||
|
||
Third-party extensions that enable extra integrations with the Elastic stack. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Ignore Docker build files | ||
Dockerfile | ||
.dockerignore | ||
|
||
# Ignore OS artifacts | ||
**/.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM untergeek/curator:8.0.2 | ||
|
||
USER root | ||
|
||
RUN >>/var/spool/cron/crontabs/nobody \ | ||
echo '* * * * * /curator/curator /.curator/delete_log_files_curator.yml' | ||
|
||
ENTRYPOINT ["crond"] | ||
CMD ["-f", "-d8"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Curator | ||
|
||
Elasticsearch Curator helps you curate or manage your indices. | ||
|
||
## Usage | ||
|
||
If you want to include the Curator extension, run Docker Compose from the root of the repository with an additional | ||
command line argument referencing the `curator-compose.yml` file: | ||
|
||
```bash | ||
$ docker-compose -f docker-compose.yml -f extensions/curator/curator-compose.yml up | ||
``` | ||
|
||
This sample setup demonstrates how to run `curator` every minute using `cron`. | ||
|
||
All configuration files are available in the `config/` directory. | ||
|
||
## Documentation | ||
|
||
[Curator Reference](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Curator configuration | ||
# https://www.elastic.co/guide/en/elasticsearch/client/curator/current/configfile.html | ||
|
||
elasticsearch: | ||
client: | ||
hosts: [ http://elasticsearch:9200 ] | ||
other_settings: | ||
username: elastic | ||
password: ${ELASTIC_PASSWORD} | ||
|
||
logging: | ||
loglevel: INFO | ||
logformat: default |
Oops, something went wrong.