Browse Source

Tweak the networking setting to remove the static IP section from the stack (#113)

Robert Middleswarth 3 years ago
parent
commit
f91040476a
1 changed files with 2 additions and 7 deletions
  1. 2 7
      pi-hosted_template/stack/unpoller-stack.yml

+ 2 - 7
pi-hosted_template/stack/unpoller-stack.yml

@@ -9,7 +9,7 @@ services:
     ports:
       - '8086:8086'
     volumes:
-      - /portainer/Files/AppData/Config/unpollerinflux:/var/lib/influxdb
+      - /portainer/Files/AppData/Config/unpoller/influx:/var/lib/influxdb
     environment:
       - INFLUXDB_DB=unifi
       - INFLUXDB_ADMIN_USER=unifi
@@ -24,12 +24,7 @@ services:
     depends_on:
       - influxdb
     volumes:
-      - /portainer/Files/AppData/Config/unpoller:/etc/unifi-poller
+      - /portainer/Files/AppData/Config/unpoller/config:/etc/unifi-poller
       
 networks:
   UnPollerBridge:
-    ipam:
-      driver: default
-      config:
-        - subnet: "172.15.0.0/16"
-          gateway: "172.15.0.1"