feat(Prometheus): Add new service

This commit is contained in:
2021-12-29 15:13:42 +01:00
parent 3d61fa584d
commit e376de5443
5 changed files with 73 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
---
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.32.1}
volumes:
- prometheus:/prometheus
restart: always