services/prometheus/docker-compose.yml

19 lines
425 B
YAML
Raw Normal View History

2021-12-29 15:13:42 +01:00
---
version: '3.8'
volumes:
prometheus:
name: ${PROMETHEUS_VOLUME_NAME:-prometheus}
services:
prometheus:
container_name: ${PROMETHEUS_CONTAINER_NAME:-prometheus}
build:
context: .
args:
PROMETHEUS_IMAGE: ${PROMETHEUS_IMAGE:-prom/prometheus:v2.33.3@sha256:20c90b9a99b12b4349150e347811cc44dccdb05c291d385320be63dc12cce73b}
2021-12-29 15:13:42 +01:00
volumes:
- prometheus:/prometheus
restart: always