add picture gallery container

update prometheus/grafana to be persistent, and have more collectors
This commit is contained in:
2018-07-15 11:12:48 -04:00
parent 1f05ea4fba
commit 1e4a882f8d
6 changed files with 123 additions and 21 deletions

View File

@@ -4,7 +4,7 @@
# 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 -c docker-compose.yml metrics
# 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'
@@ -17,8 +17,8 @@ services:
dockerfile: Dockerfile
ports:
- 9090:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
# volumes:
# - ./prometheus.yml:/etc/prometheus/prometheus.yml
# logging:
# driver: fluentd
# options:
@@ -50,3 +50,7 @@ services:
- -scrape_uri
- http://tasks.fluentd:24220/api/plugins.json
node_exporter:
image: quay.io/prometheus/node-exporter
pid: "host"