lejianwen 1 год назад
Родитель
Сommit
83279a553a
3 измененных файлов с 78 добавлено и 1 удалено
  1. 40 0
      README.md
  2. 37 0
      README_EN.md
  3. 1 1
      conf/config.yaml

+ 40 - 0
README.md

@@ -264,8 +264,48 @@ proxy:
264 264
 6. 打开浏览器访问`http://<your server[:port]>/_admin/`,默认用户名密码为`admin`,请及时更改密码。
265 265
 
266 266
 
267
+#### 使用我fork后的server-s6镜像运行
268
+
269
+- github https://github.com/lejianwen/rustdesk-server
270
+- docker hub https://hub.docker.com/r/lejianwen/rustdesk-server-s6
271
+
272
+```yaml
273
+ networks:
274
+   rustdesk-net:
275
+     external: false
276
+ services:
277
+   rustdesk:
278
+     ports:
279
+       - 21114:21114
280
+       - 21115:21115
281
+       - 21116:21116
282
+       - 21116:21116/udp
283
+       - 21117:21117
284
+       - 21118:21118
285
+       - 21119:21119
286
+     image: lejianwen/rustdesk-server-s6:latest
287
+     environment:
288
+       - RELAY=<relay_server[:port]>
289
+       - ENCRYPTED_ONLY=1
290
+       - MUST_LOGIN=N
291
+       - TZ=Asia/Shanghai
292
+       - RUSTDESK_API_RUSTDESK_ID_SERVER=<id_server[:21116]>
293
+       - RUSTDESK_API_RUSTDESK_RELAY_SERVER=<relay_server[:21117]>
294
+       - RUSTDESK_API_RUSTDESK_API_SERVER=http://<api_server[:21114]>
295
+     volumes:
296
+       - /data/rustdesk/server:/data
297
+       - /data/rustdesk/api:/app/data #将数据库挂载
298
+       - /data/rustdesk/server:/app/conf/data #挂载key文件到api容器,可以不用使用 RUSTDESK_API_RUSTDESK_KEY
299
+     networks:
300
+       - rustdesk-net
301
+     restart: unless-stopped
302
+       
303
+```
304
+
305
+
267 306
 ## 其他
268 307
 
308
+- [WIKI](https://github.com/lejianwen/rustdesk-api/wiki)
269 309
 - [链接超时问题](https://github.com/lejianwen/rustdesk-api/issues/92)
270 310
 - [修改客户端ID](https://github.com/abdullah-erturk/RustDesk-ID-Changer)
271 311
 - [webclient来源](https://hub.docker.com/r/keyurbhole/flutter_web_desk)

+ 37 - 0
README_EN.md

@@ -269,9 +269,46 @@ Download the release from [release](https://github.com/lejianwen/rustdesk-api/re
269 269
 6. Open your browser and visit `http://<your server[:port]>/_admin/`, with default credentials `admin admin`. Please
270 270
    change the password promptly.
271 271
 
272
+#### Running with my forked server-s6 image
272 273
 
274
+- github https://github.com/lejianwen/rustdesk-server
275
+- docker hub https://hub.docker.com/r/lejianwen/rustdesk-server-s6
276
+
277
+```yaml
278
+ networks:
279
+   rustdesk-net:
280
+     external: false
281
+ services:
282
+   rustdesk:
283
+     ports:
284
+       - 21114:21114
285
+       - 21115:21115
286
+       - 21116:21116
287
+       - 21116:21116/udp
288
+       - 21117:21117
289
+       - 21118:21118
290
+       - 21119:21119
291
+     image: lejianwen/rustdesk-server-s6:latest
292
+     environment:
293
+       - RELAY=<relay_server[:port]>
294
+       - ENCRYPTED_ONLY=1
295
+       - MUST_LOGIN=N
296
+       - TZ=Asia/Shanghai
297
+       - RUSTDESK_API_RUSTDESK_ID_SERVER=<id_server[:21116]>
298
+       - RUSTDESK_API_RUSTDESK_RELAY_SERVER=<relay_server[:21117]>
299
+       - RUSTDESK_API_RUSTDESK_API_SERVER=http://<api_server[:21114]>
300
+     volumes:
301
+       - /data/rustdesk/server:/data
302
+       - /data/rustdesk/api:/app/data #将数据库挂载
303
+       - /data/rustdesk/server:/app/conf/data #挂载key文件到api容器,可以不用使用 RUSTDESK_API_RUSTDESK_KEY
304
+     networks:
305
+       - rustdesk-net
306
+     restart: unless-stopped
307
+       
308
+```
273 309
 ## Others
274 310
 
311
+- [WIKI](https://github.com/lejianwen/rustdesk-api/wiki)
275 312
 - [Connection Timeout](https://github.com/lejianwen/rustdesk-api/issues/92)
276 313
 - [Change client ID](https://github.com/abdullah-erturk/RustDesk-ID-Changer)
277 314
 - [Web client source](https://hub.docker.com/r/keyurbhole/flutter_web_desk)

+ 1 - 1
conf/config.yaml

@@ -31,7 +31,7 @@ rustdesk:
31 31
   webclient-magic-queryonline: 0
32 32
 logger:
33 33
   path: "./runtime/log.txt"
34
-  level: "warn" #trace,debug,info,warn,error,fatal
34
+  level: "debug" #trace,debug,info,warn,error,fatal
35 35
   report-caller: true
36 36
 proxy:
37 37
   enable: false