appstore-1panel/apps/zerotier-planet/1.2.16/docker-compose.yml
2024-04-02 16:58:49 +08:00

27 lines
686 B
YAML

version: '3'
services:
zerotier-planet:
image: keynetworks/ztncui:1.2.16
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