Compare commits

..
3 Commits
Author SHA1 Message Date
thomasandClaude Opus 4.8 e28d3bf53d admin: Remove default Chinese welcome message
Build & Push Docker Image / docker (push) Failing after 13s
Empty conf/admin/hello.html so the admin dashboard no longer shows the
"你好 ... 欢迎使用 RustDesk API" welcome card by default.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 13:00:07 +02:00
thomasandClaude Opus 4.8 6dfd40a10f docs: Add self-contained docker-compose.yml.example
Build & Push Docker Image / docker (push) Failing after 13s
Full stack example (hbbs + hbbr + rustdesk-api) with everything inline:
public endpoints, a fixed Ed25519 key pair (secret on the servers, public
on the API) and the JWT key. No .env required.

The included key is an example and should be regenerated for production.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 12:46:40 +02:00
thomasandClaude Opus 4.8 05f919777f config: Default language to English (en)
Build & Push Docker Image / docker (push) Failing after 13s
Change the default app language from zh-CN to en so that the i18n-seeded
default group names ("Default Group"/"Share Group" instead of 默认组/共享组)
and all backend i18n responses default to English.

Note: existing databases already seeded under zh-CN keep their Chinese
group names and must be renamed manually.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 12:33:05 +02:00
3 changed files with 65 additions and 2 deletions
-1
View File
@@ -1 +0,0 @@
### 👏👏👏 你好 ***{{username}}*** 欢迎使用 [RustDesk API](https://github.com/lejianwen/rustdesk-api)
+1 -1
View File
@@ -1,4 +1,4 @@
lang: "zh-CN" lang: "en"
app: app:
web-client: 1 # 1:enable 0:disable web-client: 1 # 1:enable 0:disable
register: false #whether registration is enabled register: false #whether registration is enabled
+64
View File
@@ -0,0 +1,64 @@
# RustDesk full stack (server + relay + API/Web Admin) — self-contained example.
#
# Copy to docker-compose.yml and adjust the public IP / keys / secrets:
# cp docker-compose.yml.example docker-compose.yml
#
# Everything is inline (no .env). The Ed25519 key below is an EXAMPLE — generate
# your own for production. The two keys belong together:
# - hbbs/hbbr get the SECRET key via -k
# - rustdesk-api gets the matching PUBLIC key via RUSTDESK_API_RUSTDESK_KEY
# (the public key is also what clients see as their "Key").
services:
hbbs:
container_name: hbbs
image: rustdesk/rustdesk-server:latest
command: hbbs -r 194.164.204.114:21117 -k 1jqLELJaIjaRtt1Tcj6BhqJ7DhT9WszBH/XUHrqJdhdg4K98HmANQFOpUx/vPZFRWnHPTYYHyIB8uH3Xxr8PTw==
environment:
- TZ=Europe/Berlin
- ENCRYPTED_ONLY=1
- MUST_LOGIN=Y
volumes:
- ./data/server:/root
ports:
- "21115:21115"
- "21116:21116"
- "21116:21116/udp"
- "21118:21118"
depends_on:
- hbbr
restart: unless-stopped
hbbr:
container_name: hbbr
image: rustdesk/rustdesk-server:latest
command: hbbr -k 1jqLELJaIjaRtt1Tcj6BhqJ7DhT9WszBH/XUHrqJdhdg4K98HmANQFOpUx/vPZFRWnHPTYYHyIB8uH3Xxr8PTw==
environment:
- TZ=Europe/Berlin
volumes:
- ./data/server:/root
ports:
- "21117:21117"
- "21119:21119"
restart: unless-stopped
rustdesk-api:
container_name: rustdesk-api
image: git.hackner.dev/thomas/rustdesk-api:latest
command: ["./apimain"]
environment:
- TZ=Europe/Berlin
- RUSTDESK_API_LANG=en
- RUSTDESK_API_RUSTDESK_ID_SERVER=194.164.204.114:21116
- RUSTDESK_API_RUSTDESK_RELAY_SERVER=194.164.204.114:21117
- RUSTDESK_API_RUSTDESK_API_SERVER=http://194.164.204.114:21114
- RUSTDESK_API_RUSTDESK_KEY=YOCvfB5gDUBTqVMf7z2RUVpxz02GB8iAfLh918a/D08=
- RUSTDESK_API_JWT_KEY=z5rt4z465rtzdh5sudtuzrutd66zz6
ports:
- "21114:21114"
volumes:
- ./api:/app/data
depends_on:
- hbbs
- hbbr
restart: unless-stopped