myos/stack/prometheus/es-exporter.yml

30 lines
704 B
YAML
Raw Normal View History

2021-02-09 17:05:00 +01:00
version: '3.6'
services:
es-exporter:
build:
args:
2022-02-07 15:09:51 +01:00
- DOCKER_BUILD_DIR=docker/prometheus/es-exporter
2021-02-09 17:05:00 +01:00
context: ../..
2022-02-07 15:09:51 +01:00
dockerfile: docker/prometheus/es-exporter/Dockerfile
2021-02-09 17:05:00 +01:00
command: -e ${ES_EXPORTER_ELASTICSEARCH_URL}
image: ${DOCKER_REPOSITORY}/es-exporter:${DOCKER_IMAGE_TAG}
labels:
- SERVICE_9206_CHECK_TCP=true
2022-05-09 15:33:46 +02:00
- SERVICE_9206_NAME=${COMPOSE_SERVICE_NAME}-es-exporter:9206
2021-02-09 17:05:00 +01:00
- SERVICE_9206_TAGS=${ES_EXPORTER_SERVICE_9206_TAGS}
networks:
- private
- public
ports:
- 9206
restart: always
networks:
private:
external: true
name: ${DOCKER_NETWORK_PRIVATE}
public:
external: true
name: ${DOCKER_NETWORK_PUBLIC}