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:
parent
00edbd99ce
commit
3aa42b62f5
@ -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
20
rustdesk-server/README.md
Normal 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
|
24
rustdesk-server/docker-compose.yml
Normal file
24
rustdesk-server/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user