Changing from local storage to NFS storage

This commit is contained in:
WilliamMiceli
2018-03-20 15:52:16 -04:00
parent 889636d20d
commit ce2b96ca8a
2 changed files with 6 additions and 5 deletions

View File

@@ -15,4 +15,5 @@ services:
network_mode: "host" network_mode: "host"
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${CONFIG_STORAGE}:/var/lib/zerotier-one - ${STORAGE_VOLUME}:/var/lib/zerotier-one
volumes_driver: rancher-nfs

View File

@@ -11,11 +11,11 @@ catalog:
default: "ZeroTier" default: "ZeroTier"
required: false required: false
type: string type: string
- variable: "CONFIG_STORAGE" - variable: "STORAGE_VOLUME"
label: "Persistent Config Path" label: "Persistent Storage Volume"
description: | description: |
The path to where ZeroTier should hold it's persistent files. Preferrably a local-only location. The Volume Name that ZeroTier should use for it's persistent storage
default: "/var/lib/Storage-Local/zerotier-one" default: "Test"
required: false required: false
type: string type: string
- variable: "HOST_LABEL_KEY" - variable: "HOST_LABEL_KEY"