prometheus xai cli tool setup WIP

This commit is contained in:
2021-04-02 07:31:03 -04:00
parent 6fcc1866d4
commit 5b0746fcd6
15 changed files with 413 additions and 31 deletions

View File

@@ -0,0 +1,20 @@
---
# docker-compose file for prometheus metrics server
# docker login dkregistry.xai-corp.net:5000
# docker-compose build && docker push dkregistry.xai-corp.net:5000/xaicorp/prometheus:latest
# DOCKER_HOST=dkmanager:2376 docker stack deploy --prune --with-registry-auth -c docker-compose-prod.yml metrics
# DOCKER_HOST=dkmanager:2376 docker stack ps metrics
version: '3.4'
services:
prometheus:
build:
context: .
dockerfile: Dockerfile
args:
PROM_VERSION: ${PROM_VERSION}
# volumes:
# - ./prometheus.yml:/etc/prometheus/prometheus.yml