Pretty sure I've got everything necessary.
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
zerotier:
|
||||||
|
container_name: #(Optional) Custom name for the container, rather than a generated default name.
|
||||||
|
image: zerotier/zerotier-containerized:latest
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_ADMIN
|
||||||
|
command: -d
|
||||||
|
devices:
|
||||||
|
- "/dev/net/tun"
|
||||||
|
network_mode:
|
||||||
|
- "host"
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- "${CONFIG_STORAGE}:/var/lib/zerotier-one"
|
||||||
@@ -1,15 +1,13 @@
|
|||||||
version: '2'
|
version: '2'
|
||||||
catalog:
|
catalog:
|
||||||
name: # Name of the versioned template of the Catalog Entry
|
name: "ZeroTier-Containerized" # Name of the versioned template of the Catalog Entry
|
||||||
version: # Version of the versioned template of the Catalog Entry
|
version: "latest" # Version of the versioned template of the Catalog Entry
|
||||||
description: # Description of the versioned template of the Catalog Entry
|
description: "Will fill in description later." # Description of the versioned template of the Catalog Entry
|
||||||
minimum_rancher_version: # The minimum version of Rancher that supports the template, v1.0.1 and 1.0.1 are acceptable inputs
|
|
||||||
maximum_rancher_version: # The maximum version of Rancher that supports the template, v1.0.1 and 1.0.1 are acceptable inputs
|
|
||||||
upgrade_from: # The previous versions that this template can be upgraded from
|
|
||||||
questions: #Used to request user input for configuration options
|
questions: #Used to request user input for configuration options
|
||||||
- variable: # A single word that is used to pair the question and answer.
|
- variable: "CONFIG_STORAGE" # A single word that is used to pair the question and answer.
|
||||||
label: # The "question" to be answered.
|
label: "Persistent Config Path" # The "question" to be answered.
|
||||||
description: | # The description of the question to show the user how to answer the question.
|
description: | # The description of the question to show the user how to answer the question.
|
||||||
default: # (Optional) A default value that will be pre-populated into the UI
|
The path to where ZeroTier should hold it's persistent files. Preferrably a local-only location.
|
||||||
required: # (Optional) Whether or not an answer is required. By default, it's considered `false`.
|
default: "/var/lib/Storage-Local/zerotier-one" # (Optional) A default value that will be pre-populated into the UI
|
||||||
type: # How the questions are formatted and types of response expected
|
required: false # (Optional) Whether or not an answer is required. By default, it's considered `false`.
|
||||||
|
type: string # How the questions are formatted and types of response expected
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
name: ZeroTier-Containerized# Name of the Catalog Entry
|
name: ZeroTier-Containerized# Name of the Catalog Entry
|
||||||
description: |
|
description: |
|
||||||
# Description of the Catalog Entry
|
Will put in description later. # Description of the Catalog Entry
|
||||||
version: # Version of the Catalog to be used
|
version: # Version of the Catalog to be used
|
||||||
category: Networking # Category to be used for searching catalog entries
|
category: Networking # Category to be used for searching catalog entries
|
||||||
maintainer: WilliamMiceli # The maintainer of the catalog entry
|
maintainer: WilliamMiceli # The maintainer of the catalog entry
|
||||||
license: # The license
|
# license: # The license
|
||||||
projectURL: https://zerotier.com # A URL related to the catalog entry
|
projectURL: https://zerotier.com # A URL related to the catalog entry
|
||||||
Reference in New Issue
Block a user