services: prometheus: extends: file: ${TEMPLATES_PATH} service: default container_name: prometheus image: prom/prometheus:latest ports: - 9090:9090 volumes: - ${MONITORING_PATH}/prometheus/config:/etc/prometheus labels: # Watchtower - "com.centurylinklabs.watchtower.enable=true" # Traefik - "traefik.enable=true" - "traefik.http.routers.prometheus.rule=Host(`prometheus.${LOCAL_DOMAIN}`)" - "traefik.http.routers.prometheus.entrypoints=https" - "traefik.http.routers.prometheus.tls=true"