You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But upon accessing the shell of the Docker container, I came to conclusion that the environment variables that we pass don't make the Docker image store the things there. But it instead informs the image that this is the path that things are going to be at.
You still need to mount the files from your host machine to the container
Something like this:
docker run --rm -d \
-p 11470:11470 \
-p 12470:12470 \
-e NO_CORS=1 \ # Set environment variable to disable CORS
-e FFMPEG_BIN=/root/ffmpeg \ # Path to the ffmpeg binary in the container
-e FFPROBE_BIN=/root/ffprobe \ # Path to the ffprobe binary in the container
-e APP_PATH=/root/stremio-cfg \ # Path to the application configuration in the container
-v /root/server-settings.json:/root/stremio-cfg/server-settings.json \ # Bind mount for server settings
-v /root/ffmpeg/bin/ffmpeg:/root/ffmpeg \ # Bind mount for ffmpeg binary
-v /root/ffmpeg/bin/ffprobe:/root/ffprobe \ # Bind mount for ffprobe binary
stremio/server:latest
Where:
/root/server-settings.json is the path of your server-settings.json file on the host machine
/root/ffmpeg/bin/ffmpeg is the path of the ffmpeg bin file on the host machine
/root/ffmpeg/bin/ffprobe is the path of the ffprobe bin file on the host machine
(i.e. these files have to exist on your host machine)
and:
/root/stremio-cfg/server-settings.json is going to be the path of the server-settings.json file inside the container
/root/ffmpeg is going to be the path of the ffmpeg bin inside the container
/root/ffprobe is going to be the path of the ffprobe bin inside the container
I'm trying to run the docker image with https, but can't figure out where to place the SSL certs.
Are there some docs for this?
The text was updated successfully, but these errors were encountered: