Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 896 Bytes

README.md

File metadata and controls

41 lines (32 loc) · 896 Bytes

EAimTY/tuic in docker

Dockerfile请查看 https://raw.githubusercontent.com/Jiraiya8/docker-tuic/main/Dockerfile

服务端

docker-compose.yml

version: '3.9'
services:
  tuic-server:
    image: liyuanbiao/tuic-server:latest
    container_name: tuic-server
    restart: unless-stopped
    volumes:
      # 替换成你的证书目录
      - /root/cert/:/root/cert/
      - ./server.json:/etc/tuic/server.json
    network_mode: host

server.json 参考 https://github.com/EAimTY/tuic/tree/dev/tuic-server

客户端

docker-compose.yml

version: '3.9'
services:
  tuic-server:
    image: liyuanbiao/tuic-client:latest
    container_name: tuic-client
    restart: unless-stopped
    volumes:
      - ./client.json:/etc/tuic/client.json
    network_mode: host

client.json 参考 https://github.com/EAimTY/tuic/tree/dev/tuic-client