15 lines
695 B
YAML
15 lines
695 B
YAML
|
---
|
||
|
services_deploy_pod:
|
||
|
wants:
|
||
|
- "prometheus"
|
||
|
containers:
|
||
|
prometheus:
|
||
|
image: "docker.io/prom/prometheus:{{ services_service_deploy_versions.prometheus }}"
|
||
|
podman_run_args:
|
||
|
- "-v ./.config/service/hosts:/etc/hosts:ro"
|
||
|
- "-v ./.config/service/prometheus.yml:/etc/prometheus/prometheus.yml:U"
|
||
|
- "-v {{ services_data_directory }}/pod-metrics/data/_data:/prometheus:U"
|
||
|
# Careful about appending cmd_args - in addition to the new arguments, all the arguments from the
|
||
|
# upstream Dockerfile must also be re-appended and it is not possible it use the configuration file
|
||
|
# to configure some arguments: https://github.com/prometheus/prometheus/issues/6188
|