8 Star 123 Fork 81

jonnyan404 / zerotier-planet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 894 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
jonnyan404 提交于 2022-08-14 20:59 . 增加挂载路径
### date:2021年11月29日
### author: www.mrdoc.fun | jonnyan404
### 转载请保留来源
### update:2022年08月14日
version: '2.0'
services:
ztncui:
container_name: ztncui
restart: always
environment:
- MYADDR=1.1.1.1 #改成自己的服务器公网IP
- HTTP_PORT=4000
- HTTP_ALL_INTERFACES=yes
- ZTNCUI_PASSWD=mrdoc.fun
ports:
- '4000:4000' # web控制台入口
- '9993:9993'
- '9993:9993/udp'
- '3180:3180' # planet/moon文件在线下载入口,如不对外提供。可防火墙禁用此端口。
volumes:
- './zerotier-one:/var/lib/zerotier-one'
- './ztncui/etc:/opt/key-networks/ztncui/etc'
# 按实际路径挂载卷, 冒号前面是宿主机的, 支持相对路径
image: keynetworks/ztncui
YAML
1
https://gitee.com/jonnyan404/zerotier-planet.git
git@gitee.com:jonnyan404/zerotier-planet.git
jonnyan404
zerotier-planet
zerotier-planet
main

搜索帮助

14c37bed 8189591 565d56ea 8189591