Last active
January 8, 2026 18:08
-
-
Save bscott/54991e3cab056719cc7dcd3cc3797b82 to your computer and use it in GitHub Desktop.
RustDesk-Compose.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| networks: | |
| rustdesk-net: | |
| external: false | |
| services: | |
| nginx-proxy-manager: | |
| image: 'jc21/nginx-proxy-manager:latest' | |
| restart: unless-stopped | |
| ports: | |
| # These ports are in format <host-port>:<container-port> | |
| - '80:80' # Public HTTP Port | |
| - '443:443' # Public HTTPS Port | |
| - '8081:81' # Admin Web Port | |
| # Add any other Stream port you want to expose | |
| # - '21:21' # FTP | |
| # Ports needed for Rustdesk: | |
| - '21114:21114' | |
| - '21115:21115' | |
| - '21116:21116' | |
| - '21116:21116/udp' | |
| - '21117:21117' | |
| - '21118:21118' | |
| - '21119:21119' | |
| # Uncomment the next line if you uncomment anything in the section | |
| # environment: | |
| # Uncomment this if you want to change the location of | |
| # the SQLite DB file within the container | |
| # DB_SQLITE_FILE: "/data/database.sqlite" | |
| # Uncomment this if IPv6 is not enabled on your host/ | |
| # DISABLE_IPV6: 'true' | |
| volumes: | |
| - ./data:/data | |
| - ./letsencrypt:/etc/letsencrypt | |
| networks: | |
| - rustdesk-net | |
| hbbs: | |
| container_name: hbbs | |
| image: rustdesk/rustdesk-server-pro:latest | |
| command: hbbs -r rd.demo.net:21117 | |
| volumes: | |
| - ./data:/root | |
| networks: | |
| - rustdesk-net | |
| depends_on: | |
| - hbbr | |
| restart: unless-stopped | |
| hbbr: | |
| container_name: hbbr | |
| image: rustdesk/rustdesk-server-pro:latest | |
| command: hbbr | |
| volumes: | |
| - ./data:/root | |
| networks: | |
| - rustdesk-net | |
| restart: unless-stopped |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker compose pull | |
| docker compose up -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment