Sign inSign up

zenwistaria/zt-server

By zenwistaria

•Updated over 1 year ago

Image
0

28

zenwistaria/zt-server repository overview

⁠run

docker run -d --name zt-server --cap-add=NET_ADMIN \ 
--restart unless-stopped --net=host --env-file=.env \
-p 9993:9993/udp -p 3443:3443 -p 3180:3180 \
-v ztn:/opt/key-networks/ztncui/etc \
-v zt1:/var/lib/zerotier-one \
zenwistaria/zt-server

⁠compose

services:
  zt-server:
    container_name: zt-server
    image: zenwistaria/zt-server:latest
    env_file: .env
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    ports:
      - 9993:9993/udp
      - 3443:3443
      - 3180:3180
    volumes:
      - ztn:/opt/key-networks/ztncui/etc
      - zt1:/var/lib/zerotier-one

volumes:
  ztn:
  zt1:

⁠.env

NODE_ENV=production
HTTPS_PORT=3443
ZTNCUI_PASSWD=password
MYDOMAIN=ztncui.docker.test
PUBLIC_PLANET=false

Tag summary

Content type

Image

Digest

sha256:d11e1baa8…

Size

102.5 MB

Last updated

over 1 year ago

docker pull zenwistaria/zt-server