version: '3.7' services: curator: image: ${CURATOR_IMAGE} init: true volumes: - ./elk/extensions/curator/config/curator.yml:/.curator/curator.yml:ro,Z - ./elk/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