rxr_docker_compose/rxr_zerotier/docker-compose.yml

24 lines
559 B
YAML
Raw Permalink Normal View History

2024-11-09 02:49:12 +00:00
version: '3'
services:
myztplanet:
image: xubiaolin/zerotier-planet:latest
container_name: ztplanet
ports:
- 9994:9994
- 9994:9994/udp
- 3443:3443
- 3000:3000
environment:
- IP_ADDR4=${IP_ADDR4}
- IP_ADDR6=
- ZT_PORT=9994
- API_PORT=3443
- FILE_SERVER_PORT=3000
volumes:
- ${ZT_PLANET_PATH}/dist:/app/dist
- ${ZT_PLANET_PATH}/ztncui:/app/ztncui
- ${ZT_PLANET_PATH}/one:/var/lib/zerotier-one
- ${ZT_PLANET_PATH}/config:/app/config
restart: unless-stopped