@@ -9,19 +9,94 @@ description: Install Unpackerr with Docker Compose!
99- Copy the [ example docker-compose.yml] ( https://github.com/Unpackerr/unpackerr/blob/main/examples/docker-compose.yml )
1010 from the repo.
1111- Update the docker-compose.yml file with your environment variable values for your installation.
12- - Recommend removing variables you are not using; the defaults are found on the Configuration page.
13- - Then start it.
12+ - Remove variables you did not change; the defaults are found on the Configuration page.
13+ - Again, remove the variables you don't set or change. You can always add them back later.
14+ - ** Do not quote variable values, this isn't bash.**
15+ - Then start it, like this:
1416
1517``` shell
1618docker-compose up -d
1719```
1820
19- :::warning Data Mount
20- The ` /data ` or ` /downloads ` mount you use for starr apps should be set the same for unpackerr.
21+ Here's an example minimal compose file. This works, and all the defaults should work for you too.
22+ Set ` PUID ` , ` PGID ` and ` TZ ` in your compose ` .env ` for this example to work correctly.
23+
24+ ``` yaml
25+ services :
26+ unpackerr :
27+ image : golift/unpackerr
28+ container_name : unpackerr
29+ volumes :
30+ - /mnt/storage/downloads:/downloads
31+ restart : always
32+ user : ${PUID}:${PGID}
33+ environment :
34+ - TZ=${TZ}
35+ - UN_LOG_FILE=/downloads/unpackerr.log
36+ - UN_SONARR_0_URL=http://sonarr:8989
37+ - UN_SONARR_0_API_KEY=32coolcatcharacters
38+ - UN_RADARR_0_URL=http://radarr:7878
39+ - UN_RADARR_0_API_KEY=32coolkatcharacters
40+ ` ` `
41+
42+ # Data Mount
43+
44+ :::info Data Mount
45+ The ` /data` or `/downloads` mount you use for Starr apps should be set the same for Unpackerr.
2146Using the same mount path keeps consistency and makes troubleshooting Unpackerr easier.
47+ Most importantly, it allows Unpackerr to find your files.
2248
23- This means that if you mount ` /mnt/HostDownloads :/downloads ` on your starr apps you should
24- also mount ` /mnt/HostDownloads :/downloads ` on your unpackerr container. If you mount
25- ` /mnt/user/data:/data ` on your starr apps, mount the same path on Unpackerr.
49+ This means that if you mount `/mnt/storage/downloads :/downloads` on your Starr apps you should
50+ also mount `/mnt/storage/downloads :/downloads` on your Unpackerr container. If you mount
51+ ` /mnt/user/data:/data` on your Starr apps, mount the same path on Unpackerr.
2652**Make sure Unpackerr can find the downloads in the same place that Sonarr and Radarr find them.**
2753:: :
54+
55+ This is the most important part. Look at your download client (like Qbit), Sonarr and Radarr in your
56+ existing compose; look for `volumes:`. One of these volumes is your download mount. It's usually
57+ `/data` or `/downloads` and looks like this :
58+
59+ ` ` ` yaml
60+ volumes:
61+ - /mnt/storage/downloads:/downloads
62+ ` ` `
63+
64+ Simply copy the downloads storage volume from your Starr apps or download client to Unpackerr.
65+
66+ # Log File
67+
68+ **Set a log file.** You'll need it to figure out what Unpackerr did. Put it in your download location.
69+ Example :
70+
71+ ` ` ` yaml
72+ environment:
73+ - UN_LOG_FILE=/downloads/unpackerr.log
74+ ` ` `
75+
76+ Replace `/downloads/unpackerr.log` with `/data/unpackerr.log` if you mounted `/data` in `volumes:`.
77+ Or whatever download path you mounted; just put it there for ease of finding it.
78+
79+ # More Notes
80+ :::warning Security Opts
81+ Do not include this in your compose. It will make Unpackerr not work properly. If you know how
82+ to adjust caps, go for it, but please don't ask for help without removing this first :
83+
84+ ` ` ` yaml
85+ security_opt:
86+ - no-new-privileges:true
87+ ` ` `
88+ :: :
89+
90+ # Config File
91+
92+ _Very Optional:_
93+
94+ You may also use a config file with or instead of environment variables. Name the file `unpackerr.conf`
95+ and mount the folder it's in to `/config`, so the file becomes available at `/config/unpackerr.conf`.
96+ Here's an example volume mount. You need one like this that ends with `/config`. Put the file in the
97+ folder on the left side.
98+
99+ ` ` ` yaml
100+ volumes:
101+ - /mnt/appdata/unpackerr:/config
102+ ` ` `
0 commit comments