Docker Compose
To run the application, you need to have Docker installed on your system.
Installation
Follow the steps below to install the application using Docker Compose.
-
Create a new directory for the application:
-
Create a
docker-compose.yml
file with the following content:services: trailarr: image: nandyalu/trailarr:latest container_name: trailarr environment: - TZ=America/New_York - PUID=1000 - PGID=1000 ports: - 7889:7889 volumes: - <LOCAL_APPDATA_FOLDER>:/config - <LOCAL_MEDIA_FOLDER>:<RADARR_ROOT_FOLDER> - <LOCAL_MEDIA_FOLDER>:<SONARR_ROOT_FOLDER> restart: on-failure
-
Update the env variables and volume mappings in the
docker-compose.yml
file. See Environment Variables and Volume Mapping for the details. -
Run the following command to start the application:
-
Open your browser and navigate to http://localhost:7889 to access the application.
Updating
To update the application, run the following commands:
-
Pull the latest image:
-
Run the docker compose command to update the existing container:
nightly
build
Trailarr also has a nightly
build available, which is built on the dev
branch with the most recent changes that are in development.
nightly
build might have some additional features that you can use right away, however, might have some bugs.
To use the nightly
build, you can use the same docker cli
or docker-compose
commands by replacing nandyalu/trailarr:latest
with nandyalu/trailarr:nightly
.
Warning
It is strongly recommended to use a separate container for nightly build and keep your production container to latest build.
To add a separate container for nightly map the config
folder to a new folder like /rest_of_path/trailarr-dev:/config