Deploying the Stremio Real Debrid Addon with Docker Compose is straightforward. The following instructions walk you through the entire process, including optional steps for public exposure via Cloudflare Tunnel.
-
Docker Ensure Docker is installed on your system. If not, follow the official Docker installation guide.
-
Docker Compose Verify Docker Compose is installed by running:
docker compose --version
If you are using Docker Desktop, Docker Compose should already be included.
If you have not cloned the repository yet, do so with the following commands:
git clone https://github.com/SHSharkar/Stremio-Real-Debrid-Addon.git
cd Stremio-Real-Debrid-Addon
Build the Docker image and start your containers in detached mode:
docker compose up -d --build --remove-orphans
Explanation:
up
creates and starts containers.-d
runs containers in detached mode (in the background).--build
forces a rebuild of the Docker image to incorporate any changes.--remove-orphans
removes containers that are no longer defined in the Docker Compose file.
Check the status of your containers:
docker compose ps
Expected Output:
Name Command State Ports
--------------------------------------------------------------------------------------
realdebrid-addon docker-entrypoint.sh npm start Up 0.0.0.0:62316->62316/tcp
Open your browser and go to:
http://localhost:62316
If you are deploying on a remote server, replace localhost
with the server’s
IP address.
If you want to make your addon accessible over the internet without exposing specific ports or using a custom domain, consider Cloudflare Tunnel.
Refer to the
Cloudflare official guide
to install cloudflared
.
cloudflared login
This command opens a browser window where you can log in and authorize
cloudflared
.
cloudflared tunnel create stremio-realdebrid-addon
Route the Tunnel:
cloudflared tunnel route dns stremio-realdebrid-addon your-subdomain.yourdomain.com
Replace your-subdomain.yourdomain.com
with the subdomain you wish to use. If
you do not have a custom domain, Cloudflare can provide a free
*.trycloudflare.com
domain.
cloudflared tunnel run stremio-realdebrid-addon
Make sure the tunnel points to the correct internal port (62316
) used by your
Docker container.
Open your browser and go to:
https://your-subdomain.yourdomain.com
Replace the above with the actual subdomain provided by Cloudflare.
-
View Logs To see the application logs in real time:
docker compose logs -f realdebrid-addon
-
Stop the Containers Gracefully stop running containers:
docker compose down --remove-orphans
-
Restart the Containers If you need to restart your containers:
docker compose restart realdebrid-addon
-
Rebuild After Code Changes If any application code or dependencies change, rebuild and restart:
docker compose up -d --build --remove-orphans