mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 03:18:48 +08:00
30 lines
967 B
YAML
30 lines
967 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
|
|
services:
|
|
zerotier-planet:
|
|
image: xubiaolin/zerotier-planet:1.14.2
|
|
container_name: ${CONTAINER_NAME}
|
|
labels:
|
|
createdBy: "Apps"
|
|
restart: always
|
|
network_mode: ${NETWORK_MODE}
|
|
ports:
|
|
- ${PANEL_APP_PORT_ZT}:${PANEL_APP_PORT_ZT}/tcp
|
|
- ${PANEL_APP_PORT_ZT}:${PANEL_APP_PORT_ZT}/udp
|
|
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
|
- ${PANEL_APP_PORT_FILE}:${PANEL_APP_PORT_FILE}
|
|
env_file:
|
|
- /etc/1panel/envs/global.env
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
volumes:
|
|
- ${ZEROTIER_PLANET_ROOT_PATH}/file:/app/dist
|
|
- ${ZEROTIER_PLANET_ROOT_PATH}/ztncui:/app/ztncui
|
|
- ${ZEROTIER_PLANET_ROOT_PATH}/zerotier-one:/var/lib/zerotier-one
|
|
- ${ZEROTIER_PLANET_ROOT_PATH}/config:/app/config
|
|
environment:
|
|
- ZT_PORT=${PANEL_APP_PORT_ZT}
|
|
- API_PORT=${PANEL_APP_PORT_HTTP}
|
|
- FILE_SERVER_PORT=${PANEL_APP_PORT_FILE}
|