Browse Source

added external network for prometheus pushgateway

Toastie 6 months ago
parent
commit
20b484a93a
1 changed files with 5 additions and 0 deletions
  1. 5 0
      restic/docker-compose.yml

+ 5 - 0
restic/docker-compose.yml

@@ -14,3 +14,8 @@ services:
     entrypoint: /root/restic/entry.sh 
     entrypoint: /root/restic/entry.sh 
     # For debugging, docker-compose run restic
     # For debugging, docker-compose run restic
     #entrypoint: /bin/sh
     #entrypoint: /bin/sh
+    networks:
+      - prometheus_pushgateway
+networks:
+  prometheus_pushgateway:
+    external: true