ZTNET

다중 사용자 및 조직 기능을 지원하는 프라이빗 컨트롤러용 ZeroTier 웹 UI.

웹 UI에 접속하십시오

  • 브라우저에서 열기: http://<SERVER_IP>:3000
  • The first registered user automatically becomes administrator.

중요한 파일 및 디렉터리

  • 애플리케이션 설치: /root/ztnet
  • Docker Compose 파일: /root/ztnet/docker-compose.yml
  • 환경 변수: /root/ztnet/.env
  • PostgreSQL database data: /var/lib/docker/volumes/ztnet_postgres-data/_data
  • ZeroTier controller data: /var/lib/docker/volumes/ztnet_zerotier/_data

ZeroTier Usage

Enter the container:

docker exec -it zerotier sh

Useful commands inside container:

zerotier-cli status        # show node status
zerotier-cli listnetworks  # list joined networks
zerotier-cli listpeers     # list connected peers
ip a                       # check network interfaces

Join a network:

docker exec -it zerotier zerotier-cli join <network-id>

서비스 관리

목록 컨테이너:

docker ps

컨테이너 재시작:

# ZTNET stack
cd /root/ztnet
docker compose restart

# Single container
docker restart zerotier
docker restart ztnet
docker restart postgres

Follow container logs:

# All containers
docker compose logs -f

# Single container
docker logs -f ztnet
docker logs -f zerotier
docker logs -f postgres

Deploy the stack:

cd /root/ztnet
docker compose up -d --wait

SSL / HTTPS Setup (Optional)

  1. Uncomment the HTTPS proxy section in docker-compose.yml.
  2. 교체 <YOUR-PUBLIC-HOST-NAME> with your domain.
  3. Create the Caddy volume (if not already).
  4. Set NEXTAUTH_URL to your domain in docker-compose.yml.
  5. Recreate the stack: docker compose up -d

신청 세부사항