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:
|
2022-03-07 11:11:39 +01:00
|
|
|
PROMETHEUS_IMAGE: ${PROMETHEUS_IMAGE:-prom/prometheus:v2.33.4}
|
2021-12-29 15:13:42 +01:00
|
|
|
volumes:
|
|
|
|
- prometheus:/prometheus
|
|
|
|
restart: always
|