All Projects → sbilly → docker-zerotier-controller

sbilly / docker-zerotier-controller

Licence: MIT license
Dockernized ZeroTierOne Controller

Programming Languages

Dockerfile
14818 projects
python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to docker-zerotier-controller

zero-ui
ZeroUI - ZeroTier Controller Web UI - is a web user interface for a self-hosted ZeroTier network controller.
Stars: ✭ 432 (+154.12%)
Mutual labels:  zerotier, zerotier-one, zero-ui, zerotier-controller
ZerotierFix
An unofficial Zerotier Android client patched from official client
Stars: ✭ 855 (+402.94%)
Mutual labels:  zerotier, zerotier-one
sbuscontroller
This Arduino-Sketch lets you connect your SBUS compatible radio wirelessly as controller to your pc.
Stars: ✭ 24 (-85.88%)
Mutual labels:  controller
controller-rs
A kubernetes example controller
Stars: ✭ 134 (-21.18%)
Mutual labels:  controller
droid controller
Control the parameters of an Android system with the power of Xposed framework. 通过Xposed框架控制Android参数。
Stars: ✭ 15 (-91.18%)
Mutual labels:  controller
SPX-GC
SPX is a graphics control client for live video productions and live streams using CasparCG, OBS, vMix, or similar software.
Stars: ✭ 178 (+4.71%)
Mutual labels:  controller
ContainerView
Using Container View in iOS with Swift
Stars: ✭ 34 (-80%)
Mutual labels:  controller
MVVM-Design-Pattern-Demo
An Xcode 9 project written in Swift 4 code designed using the MVVM design pattern, truly extolling the virtues of MVVM over MVC.
Stars: ✭ 31 (-81.76%)
Mutual labels:  controller
Xb2XInput
XB2X: User-mode Windows driver for Xbox OG controllers, supporting both XInput and DirectInput.
Stars: ✭ 70 (-58.82%)
Mutual labels:  controller
Polyel-Framework
⚡️ Voltis Core: A PHP framework based on Swoole from the ground up
Stars: ✭ 22 (-87.06%)
Mutual labels:  controller
nxbt
Control your Nintendo Switch through a website, terminal, or macro.
Stars: ✭ 340 (+100%)
Mutual labels:  controller
RockerView
A game controller view
Stars: ✭ 21 (-87.65%)
Mutual labels:  controller
Fairtris
Clone of the official classic Tetris® game for the NES console, intended for Windows and Linux systems. It implements the original mechanics and includes many regional versions and several RNGs (all in one executable).
Stars: ✭ 30 (-82.35%)
Mutual labels:  controller
php-mvc
Mini framework para aplicaciones PHP con el patrón MVC
Stars: ✭ 35 (-79.41%)
Mutual labels:  controller
bilrost
Kubernetes controller/operator to set up OAUTH2/OIDC security on any ingress based service
Stars: ✭ 17 (-90%)
Mutual labels:  controller
kube-code-generator
Kubernetes code generator docker image
Stars: ✭ 60 (-64.71%)
Mutual labels:  controller
mpc
A software pipeline using the Model Predictive Control method to drive a car around a virtual track.
Stars: ✭ 119 (-30%)
Mutual labels:  controller
thanos-receive-controller
Kubernetes controller to automatically configure Thanos receive hashrings
Stars: ✭ 55 (-67.65%)
Mutual labels:  controller
nest-abstract
NestJs Abstraction Helper
Stars: ✭ 36 (-78.82%)
Mutual labels:  controller
tezos-k8s
Deploy a Tezos Blockchain on Kubernetes
Stars: ✭ 43 (-74.71%)
Mutual labels:  zerotier

docker-zerotier-controller

Dockernized ZeroTierOne controller with zero-ui web interface. 中文讨论

Customize ZeroTierOne's controller planets

Modify patch/planets.json as you needed, then build the docker image. I've put the patch/planet.public and patch/planet.private files in this repo.

{
  "planets": [
    {
      "Location": "Beijing", // Where this planet located
      "Identity": "a4de2130c2:0:ab5257bb05cd2fb8044fe26483f6d27b57124ca7b350fb3e0f07d405c68c4416094dbc836bf62ed483072501aa3384dff3c74ac50050c1bfbb1dc657001ef6a1", // The planet's public key, ex: identity.public
      "Endpoints": ["127.0.0.1/9993"] // The list of endpoints in 'ip/port' format. IPv6 is supportted
    }
  ]
}

Build

docker build --force-rm . -t sbilly/zerotier-controller:latest

Run

Controller

# Run with default settings
docker run --rm -ti -p 4000:4000 -p 9993:9993 -p 9993:9993/udp sbilly/zerotier-controller:latest

# Run with custom envirments settings
docker run --rm -ti -e ZU_SECURE_HEADERS=false -e ZU_CONTROLLER_ENDPOINT=http://127.0.0.1:9993/ -e ZU_DEFAULT_USERNAME=admin -e ZU_DEFAULT_PASSWORD=zero-ui -p 4000:4000 -p 9993:9993 -p 9993:9993/udp sbilly/zerotier-controller:latest

# Run with docker volumes
docker run --rm -ti -v `pwd`/config/identity.public:/app/config/identity.public -v `pwd`/config/identity.secret:/app/config/identity.secret -v `pwd`/config/authtoken.secret:/app/config/authtoken.secret -p 3000:3000 -p 4000:4000 -p 9993:9993 -p 9993:9993/udp sbilly/zerotier-controller:latest

Peer

Download planet from controller WEB interface to peer configuration directory. For example, /var/lib/zerotier-one/planet, Then start zerotier-one.

# Download planet
wget http://[IP_OF_CONTROLLER]:[PORT_OF_CONTROLLER]/app/static/planet -O /var/lib/zerotier-one/planet

# Start ZeroTierOne
zerotier-one /var/lib/zerotier-one

Environment Variables

  • The default username/password (admin/zero-ui) is defined by ZU_DEFAULT_USERNAME and ZU_DEFAULT_PASSWORD.
  • The environment variable ZT_PRIMARY_PORT is ZeroTierOne's primaryPort in local.conf.
  • Please check zero-ui for other environment variables.

Files in Docker Image

/app/
├── config/
├── backend/
├── frontend/
└── ZeroTierOne/
  • config: The configurations of ZeroTierOne, such as identity.*, authtoken.secret, etc.
  • backend: zero-ui backend.
  • frontend: The static files of zero-ui frontend.
  • ZeroTierOne: The binaries of ZeroTierOne, such as zerotier-*, mkworld.

FAQ

  • What's the difference from the official docker image of zero-ui/ztncui

    The offical docker images of zero-ui and ztncui are controller‘s interface. And we provide full operational functions of planet/controller/controller-ui of ZeroTier.

Change Log

  • 20220215 - Update software versions and Readme
  • 20211206 - Add FAQ section.
  • 20210904 - Update peer's instructions.
  • 20210902 - First Release.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].