2024-04-02 16:45:47 +08:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
zerotier-planet:
|
2024-04-02 16:58:49 +08:00
|
|
|
image: keynetworks/ztncui:1.2.16
|
2024-04-02 16:45:47 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- "${PANEL_APP_PORT_HTTP}:4000"
|
|
|
|
- "${PANEL_APP_PORT_SERVER}:9993"
|
|
|
|
- "${PANEL_APP_PORT_SERVER}:9993/udp"
|
|
|
|
- "${PANEL_APP_PORT_DOWNLOAD}:3180"
|
|
|
|
volumes:
|
|
|
|
- ./data/zerotier-one:/var/lib/zerotier-one
|
|
|
|
- ./data/etc:/opt/key-networks/ztncui/etc
|
|
|
|
environment:
|
|
|
|
- MYADDR=${HOST_IP_ADDR}
|
|
|
|
- HTTP_PORT=4000
|
|
|
|
- HTTP_ALL_INTERFACES=yes
|
|
|
|
- ZTNCUI_PASSWD=${PASSWORD}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|