Skip to content

Install Script

Justin edited this page Jun 12, 2023 · 6 revisions

The bash script Install_TrailerTech.sh in the root of this repo was created with the intention of being run upon docker container creation. If you run Radarr using the LinuxServer.io image some of the work has been done for you. Follow the instructions below to add this automation. If you are running Radarr differently you may need to Manual Install.

LinuxServer.io auto install script implementation

  1. In your docker-compose file map a directory of your choosing to /custom-cont-init.d. ex /docker/radarr/startup-scripts:/custom-cont-init.d 1.a. /custom-cont-init.d can not be located within the /config directory and must be mapped separately in your docker-compose file.
  2. Within that directory create a file named Install_TrailerTech.sh
  3. Copy the contents of 'Install_TrailerTech.sh` in this repo to the file you just created
  4. Adjust the settings to your liking at the start of that file. By default PUID and PGID are the same as the container. Change the install location if needed.
  5. If you already have the container running stop and remove the container
  6. Finally rebuild your container. This time, the custom script will be run and your new script by default will be located at /config/scripts/TrailerTech

Debian Based containers other than the one mentioned above

This must be done every time you rebuild the container

  1. Once your container is up and running run the command docker exec -it <containerName> /bin/bash
  2. Run the following commands:
  • apt update -y
  • apt install git python3 python3-pip ffmpeg -yq
  • mkdir -p /config/scripts/TrailerTech
  • git clone https://github.com/jsaddiction/TrailerTech.git /config/scripts/TrailerTech
  • sh /config/scripts/TrailerTech/Install_TrailerTech.sh

Debian one liner install

This must also be done every time the container is built execute the following command once your container is up and functioning:

  • docker exec radarr2 bash -c "apt update -y ; apt install git python3 python3-pip ffmpeg -yq ; mkdir -p /config/scripts/TrailerTech ; git clone https://github.com/jsaddiction/TrailerTech.git /config/scripts/TrailerTech ; sh /config/scripts/TrailerTech/Install_TrailerTech.sh"

Clone this wiki locally