Running it On a NAS in Docker - ThioJoe/Plex-Show-Subtitles-On-Rewind GitHub Wiki

The Process:

  • The general process is you need to create the Docker image using the binary, then create a container using that image.

Steps:

  1. Read the instructions in the repo's Docker Folder.

    • You'll just need the Dockerfile file to create the image
    • You can skip the instructions for creating the container with Docker Compose, we'll do that manually for the NAS
  2. After creating the image, you'll need to create the container that will use the image. See the "Creating The Container" instructions below.

  3. Run the container, and view the container logs to see the auth URL it generated. Visit the URL and log in to authorize the app.

  4. Go into your mounted folder for the config folder and edit the settings, specifically the Server_URL_And_Port setting.

    • If the Plex server is also running on the NAS, I believe you can use host.docker.internal instead of 127.0.0.1

Creating The Container:

• It will depend on the UI of your NAS, but really the only setting you'll need to set is the folder to mount on the NAS to the /app/config folder in the container where the settings will be, so that you can access the files the app creates.

For example below. The path on the left is where I chose to map the settings in the container on the NAS, and that can be anywhere. Just make sure that the path within the container is /app/config

• This might already be added automatically in your UI, but make sure there is a DOTNET_RUNNING_IN_CONTAINER environment variable set to true

• Recommended: Set a helpful name for the device with the -auth-device-name argument. This will show up next to the app in your authorized devices list in your Plex account