appstore-1panel/dockge/ztncui/docker-compose.yml
QYG2297248353 275d5be658
Some checks are pending
Process Apps and Commit Changes / process (push) Waiting to run
Processed apps directory via GitHub Actions
2024-11-28 09:57:19 +00:00

28 lines
767 B
YAML

networks:
1panel-network:
external: true
services:
ztncui:
container_name: ztncui
env_file:
- ./envs/global.env
- .env
environment:
- NODE_ENV=production
- HTTP_PORT=${PANEL_APP_PORT_HTTP}
- ZT_ADDR=localhost:${PANEL_APP_PORT_API}
- HTTP_ALL_INTERFACES=yes
image: keynetworks/ztncui:1.2.17
labels:
createdBy: Apps
network_mode: ${NETWORK_MODE}
ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
- ${PANEL_APP_PORT_API}:${PANEL_APP_PORT_API}/tcp
- ${PANEL_APP_PORT_API}:${PANEL_APP_PORT_API}/udp
- ${PANEL_APP_PORT_FILE}:3180
restart: always
volumes:
- ${ZTNCUI_ROOT_PATH}/ztncui:/opt/key-networks/ztncui/etc
- ${ZTNCUI_ROOT_PATH}/zerotier-one:/var/lib/zerotier-one