Miscellaneous fixes

This commit is contained in:
William Miceli
2018-03-14 10:26:58 -04:00
parent ee5f268da6
commit f6b90bc410
2 changed files with 11 additions and 3 deletions

View File

@@ -1,12 +1,13 @@
version: "3"
services:
zerotier:
container_name: #(Optional) Custom name for the container, rather than a generated default name.
container_name: ${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
command:
- -d
devices:
- "/dev/net/tun"
network_mode:

View File

@@ -2,8 +2,15 @@ version: '2'
catalog:
name: "ZeroTier-Containerized" # Name of the versioned template of the Catalog Entry
version: "latest" # Version of the versioned template of the Catalog Entry
description: "Will fill in description later." # Description of the versioned template of the Catalog Entry
description: ZeroTier-Containerized instance for virtual networking # Description of the versioned template of the Catalog Entry
questions: #Used to request user input for configuration options
- variable: "NAME"
label: "Container Name"
description: |
(Optional) Enter a name for the container, otherwise one will be randomly generated.
default: "ZeroTier"
required: false
type: string
- variable: "CONFIG_STORAGE" # A single word that is used to pair the question and answer.
label: "Persistent Config Path" # The "question" to be answered.
description: | # The description of the question to show the user how to answer the question.