Files
rustdesk-server/.env.example

43 lines
1.6 KiB
Bash

# Copy to .env and edit. docker-compose reads it automatically.
# --- Required ----------------------------------------------------------------
# Public domain clients connect to. hbbs advertises this as the relay address.
RUSTDESK_DOMAIN=rd.gamecom.ch
# --- Bootstrap admin ---------------------------------------------------------
# Seeded into the users table on the FIRST startup only (when users is empty).
# Subsequent restarts ignore these — change the password via the admin UI.
# Without these set on first boot, you'll have no way to log in.
RUSTDESK_BOOTSTRAP_ADMIN_USERNAME=admin
RUSTDESK_BOOTSTRAP_ADMIN_PASSWORD=changeme
# --- Optional runtime --------------------------------------------------------
# Pre-shared key. "-" lets hbbs auto-generate on first run; "_" forces
# encrypted-only mode without an explicit key.
#RUSTDESK_KEY=-
# HTTP management API / admin UI port (pro-features). Set to 0 to disable.
#RUSTDESK_HTTP_PORT=21114
# Force relay for all sessions even on LAN.
#RUSTDESK_ALWAYS_USE_RELAY=Y
# When the admin UI shows a device's unattended (per-boot) password.
# logged-out only when nobody is logged in on the device (default)
# always also while an interactive user is logged in
#RUSTDESK_UNATTENDED_PWD_VISIBILITY=logged-out
#RUST_LOG=info
# --- Optional build source ---------------------------------------------------
# Override the upstream repo / branch the image is built from.
#RUSTDESK_GIT_URL=https://gitea.cstudio.ch/mike/rustdesk-server.git
#RUSTDESK_GIT_BRANCH=pro-features
# --- Database connectivity ---------------------------------------------------
DATABASE_URL=sqlite://./db_v2.sqlite3