This commit is contained in:
2022-04-18 11:21:20 +08:00
commit 45a7af638f
210 changed files with 8997 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
version: "3.7"
services:
prometheus:
image: harbor.colben.cn/general/prometheus
container_name: prometheus
restart: "on-failure"
stop_grace_period: 5m
privileged: true
networks:
prometheus:
volumes:
- type: bind
source: ./prometheus/conf
target: /etc/prometheus
- type: bind
source: ./prometheus/data
target: /var/lib/prometheus
- type: bind
source: ./prometheus/log
target: /var/log/prometheus