This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
max/ansible/roles/prometheus/templates/docker-compose.yml.j2

13 lines
314 B
Django/Jinja

version: "3.8"
services:
prometheus:
image: prom/prometheus
container_name: prometheus
restart: always
volumes:
- "{{ service_dir }}/prometheus.yml:/etc/prometheus/prometheus.yml"
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "{{ prometheus_port }}:9090"