-
Notifications
You must be signed in to change notification settings - Fork 125
Use Docker With My S6
乐 edited this page Jan 15, 2025
·
2 revisions
我的server源码地址 lejianwen/rustdesk-server
docker-compose.yml
networks:
rustdesk-net:
external: false
services:
rustdesk:
ports:
- 21114:21114
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21117:21117
- 21118:21118
- 21119:21119
image: lejianwen/rustdesk-server-s6:latest
environment:
- RELAY=<server[:21117]>
- ENCRYPTED_ONLY=1
- MUST_LOGIN=Y #是否必须登录
- TZ=Asia/Shanghai
- RUSTDESK_API_RUSTDESK_ID_SERVER=<server[:21116]> #21116
- RUSTDESK_API_RUSTDESK_RELAY_SERVER=<server[:21117]> #21117
- RUSTDESK_API_RUSTDESK_API_SERVER=http://<server[:21114]> #21114
- RUSTDESK_API_KEY_FILE=/data/id_ed25519.pub
- RUSTDESK_API_JWT_KEY=xxxxxx # jwt key
volumes:
- /data/rustdesk/server:/data #将server的key挂载出来
- /data/rustdesk/api:/app/data #将数据库挂载
networks:
- rustdesk-net
restart: unless-stopped