-
Notifications
You must be signed in to change notification settings - Fork 21
Using Stremio Server with Custom Certificate
Andreas Tsarida edited this page Jan 20, 2025
·
1 revision
If you want to use your own custom certificate and domain, you can specify them using the CERT_FILE
and DOMAIN
environment variables. The server and web player will load the specified certificate.
$ docker run -d \
--name=stremio-docker \
-e CERT_FILE=certificate.pem \
-e DOMAIN=your.custom.domain \
-v ~/.stremio-server:/root/.stremio-server \
-p 8080:8080/tcp \
-p 12470:12470/tcp \
--restart unless-stopped \
tsaridas/stremio-docker:latest
Make sure the certificate file is placed in the same folder that you expose in /root/.stremio-server
. For example, if your certificate is located at ~/.stremio-server/certificate.pem
on your host machine, it will be accessible inside the container at /root/.stremio-server/certificate.pem
.
The WebPlayer will be available at https://your.custom.domain:8080
and the streaming server at https://your.custom.domain:12470
.