Translate Chinese comments, log/error messages, validator labels and Swagger annotations to English throughout the source code, generated Swagger docs, config files and CI workflows. Make the English README primary: README.md now holds the English docs and README_EN.md holds the Chinese version, with cross-language links updated accordingly. Note: the generated docs/ swagger files were translated in place; run `go generate ./...` (swag init) to regenerate them from the now-English annotations when a Go toolchain is available. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
25 lines
813 B
YAML
25 lines
813 B
YAML
services:
|
|
rustdesk-api:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dev
|
|
args:
|
|
COUNTRY: CN
|
|
FRONTEND_GIT_REPO: https://github.com/lejianwen/rustdesk-api-web.git
|
|
FRONTEND_GIT_BRANCH: master
|
|
# image: lejianwen/rustdesk-api
|
|
container_name: rustdesk-api
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- RUSTDESK_API_RUSTDESK_ID_SERVER=192.168.1.66:21116
|
|
- RUSTDESK_API_RUSTDESK_RELAY_SERVER=192.168.1.66:21117
|
|
- RUSTDESK_API_RUSTDESK_API_SERVER=http://127.0.0.1:21114
|
|
- RUSTDESK_API_RUSTDESK_KEY=123456789
|
|
ports:
|
|
- 21114:21114
|
|
volumes:
|
|
- ./data/rustdesk/api:/app/data #mount the database out for easy backup
|
|
- ./conf:/app/conf # config
|
|
# - ./resources:/app/resources # static resources
|
|
restart: unless-stopped
|