Skip to content

Commit

Permalink
fix: docker networks in prod after exporters crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Cervello committed Dec 16, 2021
1 parent 261b484 commit 436587e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ version: "3.7"
services:
apache_exporter:
image: solsson/prometheus-exporter-apache:latest
networks:
- webnet
command:
- --scrape_uri=http://backend/server-status?auto
ports:
- 9117:9117
networks:
- webnet
depends_on:
- backend
nginx_exporter:
image: nginx/nginx-prometheus-exporter:0.9.0
networks:
- webnet
command:
- '-nginx.scrape-uri=http://frontend/nginx_status'
ports:
- 9113:9113
networks:
- webnet
depends_on:
- frontend
postgres_exporter:
Expand Down
4 changes: 4 additions & 0 deletions docker/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ services:
restart: always
backend:
restart: always
networks:
- webnet
incron:
restart: always
minion:
restart: always
frontend:
restart: always
networks:
- webnet
volumes:
html_data:
external: true
Expand Down

0 comments on commit 436587e

Please sign in to comment.