Antoine Cotten
24306fd49d
feat!: Remove support for Compose v1
...
There has been no release of the deprecated 'docker-compose' Python
package since v1.29.2, which was published in May 2021[1]. This release
is currently broken due to a breaking change in the 'docker' Python
package at version 7.0.0[1], and there is seemlingly no plan to release
a patch version of Compose v1 to address the problem.
The official path forward is to use Compose v2, which is now bundled
with the Docker client and available on all platforms where Docker is
supported.
This commit additionally removes the 'version' attribute from Compose
files, since it was obsoleted in the Compose Spec[3].
Closes #1017
[1]: https://pypi.org/project/docker-compose/#history
[2]: docker/docker-py#3194
[3]: https://compose-spec.io
2024-09-17 09:20:56 +02:00
Antoine Cotten
43716a84ad
feat: make execution of 'setup' container manual
...
Closes #798
2023-05-03 18:18:10 +02:00
Antoine Cotten
ba06c5458a
chore(setup): Rename helpers.sh to lib.sh
...
Based on a comment from #821
2023-02-17 12:37:42 +01:00
h44z
973565c2ea
Use restart policy unless-stopped ( #811 )
...
Ensures Docker automatically restarts services (containers) that were running on the host prior to a reboot.
2022-12-23 13:24:27 +01:00
Antoine Cotten
87f5894f65
feat(ext/beats): Use unprivileged publish users
2022-11-22 11:37:50 +01:00
Antoine Cotten
141b38a083
feat(ext/metricbeat): Further drop perms for monitoring
...
The built-in 'remote_monitoring_user' has full permissions on monitoring
indices, which is more than Metricbeat needs to collect metrics from
remote components.
2022-11-18 21:47:46 +01:00
Antoine Cotten
654a18dcdb
feat(ext/beats): Monitor using unprivileged user
...
Both the collection and storage of monitoring data are now performed
using the unpriviliged built-in users 'remote_monitoring_user' and
'beats_system' respectively, instead of the 'elastic' superuser.
2022-11-18 17:10:20 +01:00
Antoine Cotten
a1b5e0b858
chore(setup): Mount scripts instead of baking into img
...
Allows switching between branches of compatible stack versions (e.g.
main <-> tls) without having to rebuild the setup image.
2022-11-17 21:44:00 +01:00
Antoine Cotten
a02b7a0d3a
feat: Give Elasticsearch an explicit node name
2022-11-17 21:24:48 +01:00
Antoine Cotten
9f674eca40
chore: Clean up config
2022-11-17 21:24:46 +01:00
Antoine Cotten
7d95a3f7fa
chore(ext/fleet): Delegate Kibana init to Elastic Agent
...
Ref. https://github.com/elastic/elastic-agent/blob/v8.5.0/internal/pkg/agent/cmd/container.go#L105-L116
2022-11-15 14:39:20 +01:00
Antoine Cotten
30cb8cb484
feat: Add Fleet extension, remove standalone APM Server ( #760 )
...
The preferred way to run APM Server is via the APM integration of the
Elastic Agent.
Ref. https://www.elastic.co/guide/en/apm/guide/8.4/legacy-apm-overview.html
2022-10-06 11:58:02 +02:00
Evan
b6eb747a4a
fix: Logstash TCP input uses IANA registered port 5000
2022-07-17 00:00:38 +02:00
Antoine Cotten
f7204daaee
feat: Set explicit setup dependency on Elasticsearch
2022-06-21 14:05:55 +02:00
Antoine Cotten
4319be7cd0
fix: Revert removal of -Xms JVM option
...
Logstash has '-Xms1g' set inside 'config/jvm.options', so either -Xms
must be set, or -Xmx must be greater than 1g (which is too high of a
default for docker-elk).
Elastic explicitly recommends setting -Xms and -Xmx to the same value
for Elasticsearch:
https://www.elastic.co/guide/en/elasticsearch/reference/8.2/advanced-configuration.html#set-jvm-heap-size
2022-05-16 21:29:08 +02:00
Antoine Cotten
239099874a
chore: Raise max heap size of Elasticsearch to 512 MB
...
This value should be a sane default. Modern versions require more
resources, and nowadays any consumer hardware should be able to have
access to this amount of memory.
Additionally, do not set a lower bound on the heap size, so that unused
space isn't unnecessarily committed to the JVM.
2022-05-16 20:53:17 +02:00
Antoine Cotten
924a1e5987
chore: Update Compose file version to 3.7
...
Allows enabling the 'init' option in the 'setup' service.
Requires Docker 18.06.0 and Compose 1.22.0.
2022-02-28 09:50:52 +01:00
Antoine Cotten
eb1c6fa27e
chore: Rename ELK_VERSION to ELASTIC_VERSION
...
More appropriate name considering that extensions, which aren't part of
the "ELK" stack, also rely on this variable.
2022-02-28 09:10:30 +01:00
Antoine Cotten
9877b39900
Automate management of required roles and user passwords ( #671 )
2022-02-21 11:19:43 +01:00
Antoine Cotten
641290c20a
Apply SELinux options to bind mounts
...
https://docs.docker.com/storage/bind-mounts/
Related to #639
Closes #661
2022-02-11 20:11:22 +01:00
Antoine Cotten
ca98168da1
Quote passwords to prevent interpreting leading special chars
...
Closes #667
2022-02-11 19:10:58 +01:00
Yuri Pereira Constante
01a0cf94d5
Podman and SELinux compatible volume declaration ( #639 )
2021-11-29 09:28:17 +01:00
Antoine Cotten
a4f4e8fd39
Enable Logstash's Beats input by default
...
The configuration from the official Docker image includes it by default:
https://github.com/elastic/logstash/blob/7.9/docker/data/logstash/pipeline/default.conf
More information about the Beats input plugin:
https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html
2020-10-18 11:48:25 +02:00
Antoine Cotten
b599285dac
Move CI flow from Travis CI to GitHub Actions
2020-10-14 00:32:17 +02:00
Denis
69abb4a2a5
Expose UDP on Logstash host port ( #463 )
2020-02-10 09:29:43 +01:00
Antoine Cotten
7591ea2f19
Set discovery.type option in Compose file for easier override
...
ref. #410
2019-12-05 15:26:53 +01:00
Anthony Lapenna
1e8b471344
Persist Elasticsearch data by default via named volume ( #430 )
...
* Persist Elasticsearch data by default via named volume
* update volume declaration to long format
* Update README
2019-09-11 07:29:48 +12:00
Antoine Cotten
979d227658
Use v3 volume syntax
2019-09-09 17:04:57 +02:00
Antoine Cotten
e8e238f00c
Enable Stack Features (X-Pack) and trial by default ( #387 )
...
Co-authored-by: Willian Soares <willian@unidesk.com.br >
2019-05-06 23:51:40 +02:00
Antoine Cotten
a7defb1c2e
Support basic Docker Swarm deployment ( #262 )
2018-09-02 20:23:18 +02:00
ffknob
cc2f64be2e
Revert "Revert "Set ELK components version from .env file" ( #206 )" ( #303 )
...
This reverts commit 8f5b242d6a .
2018-08-14 12:45:01 +02:00
Antoine Cotten
d71fe53e0d
Fix typos in Compose and Travis files
2017-12-12 18:08:34 +01:00
Michał Siatkowski
8f5b242d6a
Revert "Set ELK components version from .env file" ( #206 )
...
This reverts commit 5075cafea0 .
Fixes #205
2017-12-01 10:58:07 +01:00
bean
a935ffd27e
Read-only config volumes ( #204 )
2017-12-01 07:45:39 +01:00
gotjoshua
5075cafea0
Set ELK components version from .env file
...
Closes #189
2017-11-17 13:32:20 +01:00
Antoine Cotten
586302bf4e
Default to single-node to disable bootstrap checks
...
Closes #108
2017-05-08 18:55:32 +02:00
Mark Davidson
aa06a825eb
Update to 5.4 ( #120 )
...
Includes required change for logstash config and disables the new machine learning functionality in x-pack by default.
2017-05-08 17:13:05 +02:00
Antoine Cotten
b24adfdd17
Decrease default Heap size and update doc
...
Closes #100
2017-03-15 12:46:26 +01:00
Antoine Cotten
52f43a4a72
Disable X-Pack monitoring in Logstash conf
...
Fixes #98
2017-03-02 11:22:39 +01:00
Antoine Cotten
6cd82cf47a
Use new official images ( #96 )
2017-03-01 15:16:01 +01:00
Anthony Lapenna
45f2bbbb33
Update the target of the bind mount for the kibana config folder to /etc/kibana ( #81 )
2016-12-07 09:02:18 +13:00
Nathalia Ortega
63a7750c76
Use depends_on dependency container ( #78 )
2016-11-19 10:30:28 +09:00
Anthony Lapenna
af9e335a3c
ELK 5 with X-Pack support
2016-10-29 12:16:43 +13:00
Anthony Lapenna
890c3959e6
allow logstash plugin management
2016-07-07 10:08:50 +12:00
Anthony Lapenna
b14907d33a
X-Pack (alpha-4) support
2016-07-06 10:40:23 +12:00
Anthony Lapenna
3cf96eb925
update logstash command
2016-06-16 10:18:04 +12:00
Anthony Lapenna
a7b51a2d0f
X-Pack (alpha-3) support
2016-06-15 10:11:46 +12:00
Michael Tarleton
0836021533
Created Dockerfile for the logstash image build.
2016-06-13 18:06:22 -05:00
Anthony Lapenna
54cd667912
X-Pack (alpha-2) support
2016-05-15 16:55:20 +12:00
Anthony Lapenna
a519ed63ea
X-Pack (alpha) support.
2016-05-01 20:42:46 +12:00