暫無描述

kmahyyg 7b87fc892c add chdir 4 年之前
argon2g f7eea2f425 update v1 4 年之前
fileserv d06c97367b add planet file server 4 年之前
.gitignore 4a7b924ad4 init commit 4 年之前
Dockerfile 15fddc5018 fix init startupdir err 4 年之前
LICENSE 071e4ee526 Create LICENSE 4 年之前
README.md 591485a993 add readme 4 年之前
denv d06c97367b add planet file server 4 年之前
start_zt1.sh 15fddc5018 fix init startupdir err 4 年之前
start_ztncui.sh 15fddc5018 fix init startupdir err 4 年之前
supervisord.conf 7b87fc892c add chdir 4 年之前

README.md

ztncui-aio

Licensed Under AGPL v3

Usage

$ git clone https://github.com/kmahyyg/ztncui-aio # if you wanna use env file, you need to clone, else not.
$ docker pull kmahyyg/ztncui-aio
$ docker run -d -p3000:3000 -p9993:9993 -p3180:3180\
    -v /mydata/ztncui:/opt/key-networks/ztncui/etc \
    -v /mydata/zt1:/var/lib/zerotier-one \
    --env-file ./denv <CHANGE HERE ACCORDING TO NEXT PART> \
    kmahyyg/ztncui-aio

Supported Configuration via persistent storage

For ZTNCUI: https://github.com/key-networks/ztncui

REQUIRED Name Explanation Default Value
no HTTPS_HOST Only Listen on HTTPS_HOST:HTTPS_PORT NO DEFAULT
no HTTPS_PORT HTTPS_PORT 3443
no HTTP_PORT HTTP_PORT 3000
no HTTP_ALL_INTERFACES Listen on all interfaces NO DEFAULT

This image additional specific:

REQUIRED Name Explanation Default Value
no MYDOMAIN generate TLS certs on the fly (if not exists) ztncui.docker.test
no ZTNCUI_PASSWD generate admin password on the fly (if not exists) password
YES MYADDR your ip address, public ip address preferred NO DEFAULT

Also, this image exposed an http server at port 3180, you could save file in /mydata/ztncui/myfs/ to serve it. (You could use this to build your own root server and distribute planet file)