Really should be in infrastructure...
This commit is contained in:
10
infra-templates/zerotier/0/README.md
Normal file
10
infra-templates/zerotier/0/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# ZeroTier-Containerized
|
||||
|
||||
[Official Website](https://zerotier.com)
|
||||
|
||||
[Docker Page](https://hub.docker.com/r/zerotier/zerotier-containerized/)
|
||||
|
||||
|
||||
## From Website
|
||||
|
||||
> ZeroTier delivers the capabilities of VPNs, SDN, and SD-WAN with a single system. Manage all your connected resources across both local and wide area networks as if the whole world is a single data center.
|
||||
19
infra-templates/zerotier/0/docker-compose.yml
Normal file
19
infra-templates/zerotier/0/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '2'
|
||||
services:
|
||||
zerotier:
|
||||
container_name: ${NAME}
|
||||
image: zerotier/zerotier-containerized:latest
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_ADMIN
|
||||
command:
|
||||
- -d
|
||||
devices:
|
||||
- "/dev/net/tun"
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE}
|
||||
network_mode:
|
||||
- "host"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ${CONFIG_STORAGE}:/var/lib/zerotier-one
|
||||
36
infra-templates/zerotier/0/rancher-compose.yml
Normal file
36
infra-templates/zerotier/0/rancher-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
version: '2'
|
||||
catalog:
|
||||
name: "ZeroTier-Containerized"
|
||||
version: "latest"
|
||||
description: ZeroTier-Containerized instance for virtual networking
|
||||
questions:
|
||||
- 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"
|
||||
label: "Persistent Config Path"
|
||||
description: |
|
||||
The path to where ZeroTier should hold it's persistent files. Preferrably a local-only location.
|
||||
default: "/var/lib/Storage-Local/zerotier-one"
|
||||
required: false
|
||||
type: string
|
||||
- variable: "HOST_LABEL_KEY"
|
||||
label: "Host Label Key"
|
||||
description: |
|
||||
The Label Key on the host which ZeroTier should be deployed
|
||||
default: "personal.host.id"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "HOST_LABEL_VALUE"
|
||||
label: "Host Label Value"
|
||||
description: |
|
||||
The Label Value on the host which ZeroTier should be deployed
|
||||
default: "0000"
|
||||
required: true
|
||||
type: string
|
||||
zerotier:
|
||||
scale: 1
|
||||
1
infra-templates/zerotier/catalogIcon-zerotier.svg
Normal file
1
infra-templates/zerotier/catalogIcon-zerotier.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 562.5 562.5"><defs><style>.cls-1{fill:#fcb254;}.cls-2{fill:#0a0805;}</style></defs><title>zerotier</title><rect class="cls-1" width="562.5" height="562.5" rx="30" ry="30"/><path class="cls-2" d="M310.937,200.052h200c1.667,0,3.334-.012,5,0,10.857.093,13.341,3.458,10.963,14.406-.52,2.4-1.521,3.754-3.962,3.807-3.332.073-6.666.074-10,.074q-91.248.006-182.495,0c-11.986,0-11.706-1.258-11.688,11.306.014,9.583.214,19.172-.073,28.747-.154,5.145,1.49,7.455,6.894,7.907a130.941,130.941,0,0,1,25.765,4.643c90.228,26.254,135.989,124.365,96.015,209.438-23.191,49.357-63.319,78.193-117.9,85.7-10.543,1.449-10.638,1.246-10.682,12.165-.063,15.833-.263,31.672.107,47.5.142,6.076-1.862,8.146-7.84,7.713-5.112-.37-9.847.606-9.584-7.433.531-16.232.224-32.494.126-48.743-.059-9.85-.156-10.02-9.067-11.006C196.1,555.6,130.713,454.438,171.036,358.055,192.352,307.1,231.853,277,286.49,267.492c15.049-2.618,15.111-2.266,15.115-18.021,0-7.083.072-14.167-.02-21.249-.125-9.756-.178-9.823-10.533-9.862-15.832-.061-31.665-.016-47.5-.016q-70,0-140-.022c-10.234-.01-10.234-.139-9.986-10.3.192-7.862.192-7.949,11.122-7.953Q207.815,200.024,310.937,200.052Zm7.816,215.605q0,61.176.018,122.351c.012,11.571.145,11.842,11.847,10.275,55.7-7.459,104.865-53.561,112.347-115.636,8.906-73.881-43.642-138.594-113.636-148.281-10.276-1.422-10.533-1.493-10.549,8.94Q318.683,354.482,318.753,415.657Zm-17.147.427c0-37.071.208-74.143-.07-111.212-.2-26.9,4.236-24.171-23.581-17.747-75.123,17.348-119.486,98.278-94.229,171.2,17.53,50.611,53.663,80.9,106.791,89.934,10.805,1.837,11.047,1.192,11.063-9.714Q301.67,477.314,301.606,416.084Z" transform="translate(-29.365 -135.529)"/><path class="cls-1" d="M318.753,415.657q0-61.176.027-122.351c.016-10.433.273-10.362,10.549-8.94,69.994,9.687,122.542,74.4,113.636,148.281-7.482,62.075-56.647,108.177-112.347,115.636-11.7,1.567-11.835,1.3-11.847-10.275Q318.7,476.834,318.753,415.657Z" transform="translate(-29.365 -135.529)"/><path class="cls-1" d="M301.605,416.084q0,61.229-.025,122.458c-.016,10.906-.258,11.551-11.063,9.714-53.128-9.029-89.261-39.323-106.791-89.934-25.257-72.919,19.106-153.849,94.229-171.2,27.817-6.424,23.379-9.154,23.581,17.747C301.814,341.941,301.606,379.013,301.605,416.084Z" transform="translate(-29.365 -135.529)"/></svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
8
infra-templates/zerotier/config.yml
Normal file
8
infra-templates/zerotier/config.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
name: ZeroTier-Containerized
|
||||
description: |
|
||||
Will put in description later.
|
||||
version: latest
|
||||
category: Networking
|
||||
maintainer: WilliamMiceli
|
||||
license:
|
||||
projectURL: https://hub.docker.com/r/zerotier/zerotier-containerized/
|
||||
Reference in New Issue
Block a user