remove non-working volume from grafana and open ports to prometheus in ansible

This commit is contained in:
Jonathan Math 2021-04-27 08:54:40 -05:00
parent 8c1adccda9
commit 400ca82d4f
2 changed files with 2 additions and 2 deletions

View file

@ -8,5 +8,3 @@
GF_SECURITY_ADMIN_PASSWORD: "{{ grafana_password }}"
ports:
- "3000:3000"
volumes:
- /srv/newsblur/docker/volumes/grafana_data:/var/lib/grafana

View file

@ -13,6 +13,8 @@
network_mode: host
restart_policy: unless-stopped
command: '-config.file=/etc/prometheus/prometheus.yml'
ports:
- "9090:9090"
volumes:
- /srv/newsblur/docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- /srv/newsblur/docker/volumes/prometheus_data:/prometheus