forked from TrueCloudLab/frostfs-dev-env
Evgenii Stratonikov
47b4917e7b
There were multiple warning like this one. ``` WARN[0000] /secret/services/rest_gate/docker-compose.yml: `version` is obsolete ``` According to docker-compose spec, the parameter is indeed purely informative: https://github.com/compose-spec/compose-spec/blob/master/spec.md#version-and-name-top-level-elements Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
24 lines
630 B
YAML
24 lines
630 B
YAML
services:
|
|
prometheus:
|
|
image: ${PROMETHEUS_IMAGE}:${PROMETHEUS_VERSION}
|
|
domainname: ${LOCAL_DOMAIN}
|
|
hostname: prometheus
|
|
container_name: prometheus
|
|
restart: on-failure
|
|
networks:
|
|
prometheus_int:
|
|
internet:
|
|
ipv4_address: ${IPV4_PREFIX}.121
|
|
volumes:
|
|
- ./../../vendor/hosts:/etc/hosts
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
|
command:
|
|
- --config.file=/etc/prometheus/prometheus.yml
|
|
stop_signal: SIGKILL
|
|
env_file: [ ".env", ".prometheus.env", ".int_test.env" ]
|
|
|
|
networks:
|
|
prometheus_int:
|
|
internet:
|
|
external: true
|
|
name: basenet_internet
|