-
Notifications
You must be signed in to change notification settings - Fork 9
Using Stremio Server with Public IP
$ docker run -d \ --name=stremio-docker \ -e NO_CORS=1 \ -e IPADDRESS={{ YOUR PUBLIC IP }} \ -v ~/.stremio-server:/root/.stremio-server \ -p 8080:8080/tcp \ -p 11470:11470/tcp \ --restart unless-stopped \ tsaridas/stremio-docker:latest
If you set your public IP address for the IPADDRESS environment variable, then the Stremio server should automatically set the certificate to the wildcard *.519b6502d940.stremio.rocks and should generate an A record for your public IP address. You should then expose ports 8080 and 12470 to your servers and then setup port forwarding to your router to point these two ports to your server. Once this is done you can point the WebPlayer to your streaming server on port 12047.
To find the FQDN that the certificate is pointing to, look at the folder you mounted for a file with a .pem extension. The filename is the domain you need to add your your hosts in case of local ip address.
Its generally not suggested to expose stremio directly outside as it can become a security issue.