All posts

Your first Docker deployment

Get the console, ID server and relay onto your own infrastructure.

Console, ID server and relay modules bundled in one container next to a separate database

Start with the Compose file

CortenDesk packages its console, ID server and relay together. It also needs a MySQL or MariaDB database. The installation guide has the complete Docker Compose configuration.

  1. Copy the Compose configuration from the installation guide.
  2. Set APP_URL to the public HTTPS address that your clients can reach.
  3. Configure the database and keep the data volumes.
  4. Pull the image and start your stack.
docker pull ghcr.io/marcpope/cortendesk
docker compose up -d

Put HTTPS in front

Use a reverse proxy such as Caddy, Traefik or nginx to terminate TLS. The documentation covers trusted proxies, ports and secure cookies.

Connect your clients

The Settings screen shows the ID server, relay, public key and API server values for a normal RustDesk client. Devices register when they contact your console.

Keep your data

Keep the database and the container data volume. They hold settings and the keys that keep clients connected. If you are moving an existing deployment, follow the migration guide to keep its key pair and device IDs.

Open the full installation guide