mirror of
https://github.com/deviantony/docker-elk.git
synced 2026-01-05 20:43:21 +01:00
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
15 lines
406 B
YAML
15 lines
406 B
YAML
services:
|
|
curator:
|
|
build:
|
|
context: extensions/curator/
|
|
init: true
|
|
volumes:
|
|
- ./extensions/curator/config/curator.yml:/.curator/curator.yml:ro,Z
|
|
- ./extensions/curator/config/delete_log_files_curator.yml:/.curator/delete_log_files_curator.yml:ro,Z
|
|
environment:
|
|
ELASTIC_PASSWORD: ${ELASTIC_PASSWORD:-}
|
|
networks:
|
|
- elk
|
|
depends_on:
|
|
- elasticsearch
|