1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00

add rustdesk-server

This commit is contained in:
kev 2024-01-17 16:30:44 +08:00
parent 00edbd99ce
commit 3aa42b62f5
3 changed files with 45 additions and 0 deletions

View File

@ -454,6 +454,7 @@ A collection of delicious docker recipes.
- [x] rocker/rstudio
- [x] rocket.chat
- [x] rundeck/rundeck
- [x] rustdesk/rustdesk-server-s6
- [x] wonderfall/searx
- [x] selenium
- [x] hub

20
rustdesk-server/README.md Normal file
View File

@ -0,0 +1,20 @@
rustdesk-server
===============
Self-host your own [RustDesk server][1], it is free and open source.
## up and running
```bash
$ docker run --rm --entrypoint /usr/bin/rustdesk-utils rustdesk/rustdesk-server-s6 genkeypair
Public Key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Secret Key: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
$ mkdir -p data
$ echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" > data/id_ed25519.pub
$ echo "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY" > data/id_ed25519
$ docker compose up -d
```
[1]: https://github.com/rustdesk/rustdesk-server

View File

@ -0,0 +1,24 @@
version: "3.8"
services:
rustdesk-server:
image: rustdesk/rustdesk-server-s6:latest
ports:
- "21115-21119:21115-21119/tcp"
- "21116:21116/udp"
volumes:
- ./data:/data
environment:
- RELAY=rustdesk.easypi.duckdns.org:21117
- ENCRYPTED_ONLY=1
- DB_URL=/data/db_v2.sqlite3
secrets:
- key_pub
- key_priv
restart: unless-stopped
secrets:
key_pub:
file: data/id_ed25519.pub
key_priv:
file: data/id_ed25519