update
This commit is contained in:
34
dcgm-exporter/docker-compose.yml
Normal file
34
dcgm-exporter/docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
prometheus:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.prometheus
|
||||
args:
|
||||
PROMETHEUS_VERSION: "2.45.6"
|
||||
HTTP_PROXY: "http://localhost:15777"
|
||||
HTTPS_PROXY: "http://localhost:15777"
|
||||
image: zly/prometheus:latest
|
||||
container_name: prometheus
|
||||
ports:
|
||||
- "9090:9090"
|
||||
volumes:
|
||||
- ./prometheus.yml:/opt/prometheus/prometheus.yml
|
||||
restart: unless-stopped
|
||||
|
||||
grafana:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.grafana
|
||||
args:
|
||||
GRAFANA_VERSION: "9.5.2"
|
||||
HTTP_PROXY: "http://localhost:15777"
|
||||
HTTPS_PROXY: "http://localhost:15777"
|
||||
image: zly/grafana:latest
|
||||
container_name: grafana
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./grafana.ini:/etc/grafana/grafana.ini
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user