diff --git a/templates/zerotier/0/docker-compose.yml b/templates/zerotier/0/docker-compose.yml index a2ff569..e4fb103 100644 --- a/templates/zerotier/0/docker-compose.yml +++ b/templates/zerotier/0/docker-compose.yml @@ -15,4 +15,5 @@ services: network_mode: "host" restart: unless-stopped volumes: - - ${CONFIG_STORAGE}:/var/lib/zerotier-one \ No newline at end of file + - ${STORAGE_VOLUME}:/var/lib/zerotier-one +volumes_driver: rancher-nfs \ No newline at end of file diff --git a/templates/zerotier/0/rancher-compose.yml b/templates/zerotier/0/rancher-compose.yml index 7b90fdb..10fe5a2 100644 --- a/templates/zerotier/0/rancher-compose.yml +++ b/templates/zerotier/0/rancher-compose.yml @@ -11,11 +11,11 @@ catalog: default: "ZeroTier" required: false type: string - - variable: "CONFIG_STORAGE" - label: "Persistent Config Path" + - variable: "STORAGE_VOLUME" + label: "Persistent Storage Volume" description: | - The path to where ZeroTier should hold it's persistent files. Preferrably a local-only location. - default: "/var/lib/Storage-Local/zerotier-one" + The Volume Name that ZeroTier should use for it's persistent storage + default: "Test" required: false type: string - variable: "HOST_LABEL_KEY"