Skip to content

Commit 364bc87

Browse files
authored
Merge pull request #460 from Unpackerr/dn2_generator
Generate config and compose examples
2 parents 3c2a448 + c276bb7 commit 364bc87

12 files changed

Lines changed: 425 additions & 225 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Change this line.
21
/unpackerr
32

43
# JetBrains IDEs: GoLand, IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
54
.idea/*
5+
generated
66

77
# The rest is probably fine.
88
/init/macos/*.app/Contents/MacOS/*

examples/docker-compose.yml

Lines changed: 115 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
### Unpackerr docker-compose.yml Example
22
### Please read this page for help using this example:
33
### https://unpackerr.zip/docs/install/compose
4+
### Generator: https://notifiarr.com/unpackerr
45
##################################################################
56
services:
6-
7+
## Copy the service below to your file if you have other services.
78
unpackerr:
89
image: golift/unpackerr
910
container_name: unpackerr
@@ -14,93 +15,120 @@ services:
1415
restart: always
1516
# Get the user:group correct so unpackerr can read and write to your files.
1617
user: ${PUID}:${PGID}
17-
#user: 1000:1000
18+
#user: 1000:100
1819
# What you see below are defaults for this compose. You only need to modify things specific to your environment.
1920
# Remove apps and feature configs you do not use or need.
2021
# ie. Remove all lines that begin with UN_CMDHOOK, UN_WEBHOOK, UN_FOLDER, UN_WEBSERVER, and other apps you do not use.
2122
environment:
22-
- TZ=${TZ}
23-
# General config
24-
- UN_QUIET=false
25-
- UN_DEBUG=false
26-
- UN_ERROR_STDERR=false
27-
- UN_LOG_QUEUES=1m
28-
- UN_LOG_FILE=
29-
- UN_LOG_FILES=10
30-
- UN_LOG_FILE_MB=10
31-
- UN_INTERVAL=2m
32-
- UN_START_DELAY=1m
33-
- UN_RETRY_DELAY=5m
34-
- UN_MAX_RETRIES=3
35-
- UN_PARALLEL=1
36-
- UN_FILE_MODE=0644
37-
- UN_DIR_MODE=0755
38-
- UN_ACTIVITY=false
39-
# Sonarr Config
40-
- UN_SONARR_0_URL=http://sonarr:8989
41-
- UN_SONARR_0_API_KEY=
42-
- UN_SONARR_0_PROTOCOLS=torrent
43-
- UN_SONARR_0_TIMEOUT=10s
44-
- UN_SONARR_0_DELETE_ORIG=false
45-
- UN_SONARR_0_DELETE_DELAY=5m
46-
# Radarr Config
47-
- UN_RADARR_0_URL=http://radarr:7878
48-
- UN_RADARR_0_API_KEY=
49-
- UN_RADARR_0_PROTOCOLS=torrent
50-
- UN_RADARR_0_TIMEOUT=10s
51-
- UN_RADARR_0_DELETE_ORIG=false
52-
- UN_RADARR_0_DELETE_DELAY=5m
53-
# Lidarr Config
54-
- UN_LIDARR_0_URL=http://lidarr:8686
55-
- UN_LIDARR_0_API_KEY=
56-
- UN_LIDARR_0_PROTOCOLS=torrent
57-
- UN_LIDARR_0_TIMEOUT=10s
58-
- UN_LIDARR_0_DELETE_ORIG=false
59-
- UN_LIDARR_0_DELETE_DELAY=5m
60-
# Readarr Config
61-
- UN_READARR_0_URL=http://readarr:8787
62-
- UN_READARR_0_API_KEY=
63-
- UN_READARR_0_PROTOCOLS=torrent
64-
- UN_READARR_0_TIMEOUT=10s
65-
- UN_READARR_0_DELETE_ORIG=false
66-
- UN_READARR_0_DELETE_DELAY=5m
67-
# Folder Config
68-
- UN_FOLDERS_INTERVAL=0s
69-
- UN_FOLDER_0_PATH=
70-
- UN_FOLDER_0_EXTRACT_PATH=
71-
- UN_FOLDER_0_DELETE_AFTER=10m
72-
- UN_FOLDER_0_DELETE_ORIGINAL=false
73-
- UN_FOLDER_0_DELETE_FILES=false
74-
- UN_FOLDER_0_MOVE_BACK=false
75-
- UN_FOLDER_0_DISABLE_LOG=false
76-
- UN_FOLDER_0_DISABLE_RECURSION=false
77-
# Webhook Config
78-
- UN_WEBHOOK_0_URL=
79-
- UN_WEBHOOK_0_NAME=
80-
- UN_WEBHOOK_0_NICKNAME=Unpackerr
81-
- UN_WEBHOOK_0_CHANNEL=
82-
- UN_WEBHOOK_0_TIMEOUT=10s
83-
- UN_WEBHOOK_0_SILENT=false
84-
- UN_WEBHOOK_0_IGNORE_SSL=false
85-
- UN_WEBHOOK_0_EXCLUDE_0=
86-
- UN_WEBHOOK_0_EVENTS_0=0
87-
- UN_WEBHOOK_0_TEMPLATE_PATH=
88-
- UN_WEBHOOK_0_CONTENT_TYPE=application/json
89-
# Command Hook Config
90-
- UN_CMDHOOK_0_COMMAND=
91-
- UN_CMDHOOK_0_NAME=
92-
- UN_CMDHOOK_0_TIMEOUT=10s
93-
- UN_CMDHOOK_0_SILENT=false
94-
- UN_CMDHOOK_0_SHELL=false
95-
- UN_CMDHOOK_0_EXCLUDE_0=
96-
- UN_CMDHOOK_0_EVENTS_0=0
97-
# Web Server Config
98-
- UN_WEBSERVER_METRICS=false
99-
- UN_WEBSERVER_LISTEN_ADDR=0.0.0.0:5656
100-
- UN_WEBSERVER_LOG_FILE=
101-
- UN_WEBSERVER_LOG_FILES=10
102-
- UN_WEBSERVER_LOG_FILE_MB=10
103-
- UN_WEBSERVER_SSL_CERT_FILE=
104-
- UN_WEBSERVER_SSL_KEY_FILE=
105-
- UN_WEBSERVER_URLBASE=/
106-
- UN_WEBSERVER_UPSTREAMS=
23+
- TZ=${TZ}
24+
## Global Settings
25+
- UN_DEBUG=false
26+
- UN_QUIET=false
27+
- UN_ERROR_STDERR=false
28+
- UN_ACTIVITY=false
29+
- UN_LOG_QUEUES=1m
30+
- UN_LOG_FILE=/downloads/unpackerr.log
31+
- UN_LOG_FILES=10
32+
- UN_LOG_FILE_MB=10
33+
- UN_INTERVAL=2m
34+
- UN_START_DELAY=1m
35+
- UN_RETRY_DELAY=5m
36+
- UN_MAX_RETRIES=3
37+
- UN_PARALLEL=1
38+
- UN_FILE_MODE=0644
39+
- UN_DIR_MODE=0755
40+
## Web Server
41+
- UN_WEBSERVER_METRICS=false
42+
- UN_WEBSERVER_LISTEN_ADDR=0.0.0.0:5656
43+
- UN_WEBSERVER_LOG_FILE=
44+
- UN_WEBSERVER_LOG_FILES=10
45+
- UN_WEBSERVER_LOG_FILE_MB=10
46+
- UN_WEBSERVER_SSL_CERT_FILE=
47+
- UN_WEBSERVER_SSL_KEY_FILE=
48+
- UN_WEBSERVER_URLBASE=/
49+
- UN_WEBSERVER_UPSTREAMS=
50+
## Folder Settings
51+
- UN_FOLDERS_INTERVAL=0s
52+
- UN_FOLDERS_BUFFER=20000
53+
## Sonarr Settings
54+
- UN_SONARR_0_URL=http://127.0.0.1:8989
55+
- UN_SONARR_0_API_KEY=0123456789abcdef0123456789abcdef
56+
- UN_SONARR_0_PATHS_0=/downloads
57+
- UN_SONARR_0_PROTOCOLS=torrent
58+
- UN_SONARR_0_TIMEOUT=10s
59+
- UN_SONARR_0_DELETE_DELAY=5m
60+
- UN_SONARR_0_DELETE_ORIG=false
61+
- UN_SONARR_0_SYNCTHING=false
62+
## Radarr Settings
63+
- UN_RADARR_0_URL=http://127.0.0.1:7878
64+
- UN_RADARR_0_API_KEY=0123456789abcdef0123456789abcdef
65+
- UN_RADARR_0_PATHS_0=/downloads
66+
- UN_RADARR_0_PROTOCOLS=torrent
67+
- UN_RADARR_0_TIMEOUT=10s
68+
- UN_RADARR_0_DELETE_DELAY=5m
69+
- UN_RADARR_0_DELETE_ORIG=false
70+
- UN_RADARR_0_SYNCTHING=false
71+
## Lidarr Settings
72+
- UN_LIDARR_0_URL=http://127.0.0.1:8686
73+
- UN_LIDARR_0_API_KEY=0123456789abcdef0123456789abcdef
74+
- UN_LIDARR_0_PATHS_0=/downloads
75+
- UN_LIDARR_0_PROTOCOLS=torrent
76+
- UN_LIDARR_0_TIMEOUT=10s
77+
- UN_LIDARR_0_DELETE_DELAY=5m
78+
- UN_LIDARR_0_DELETE_ORIG=false
79+
- UN_LIDARR_0_SYNCTHING=false
80+
## Readarr Settings
81+
- UN_READARR_0_URL=http://127.0.0.1:8787
82+
- UN_READARR_0_API_KEY=0123456789abcdef0123456789abcdef
83+
- UN_READARR_0_PATHS_0=/downloads
84+
- UN_READARR_0_PROTOCOLS=torrent
85+
- UN_READARR_0_TIMEOUT=10s
86+
- UN_READARR_0_DELETE_DELAY=5m
87+
- UN_READARR_0_DELETE_ORIG=false
88+
- UN_READARR_0_SYNCTHING=false
89+
## Whisparr Settings
90+
- UN_WHISPARR_0_URL=http://127.0.0.1:6969
91+
- UN_WHISPARR_0_API_KEY=0123456789abcdef0123456789abcdef
92+
- UN_WHISPARR_0_PATHS_0=/downloads
93+
- UN_WHISPARR_0_PROTOCOLS=torrent
94+
- UN_WHISPARR_0_TIMEOUT=10s
95+
- UN_WHISPARR_0_DELETE_DELAY=5m
96+
- UN_WHISPARR_0_DELETE_ORIG=false
97+
- UN_WHISPARR_0_SYNCTHING=false
98+
## Watch Folders
99+
- UN_FOLDER_0_PATH=/downloads/auto_extract
100+
- UN_FOLDER_0_EXTRACT_PATH=
101+
- UN_FOLDER_0_DELETE_AFTER=10m
102+
- UN_FOLDER_0_DISABLE_RECURSION=false
103+
- UN_FOLDER_0_DELETE_FILES=false
104+
- UN_FOLDER_0_DELETE_ORIGINAL=false
105+
- UN_FOLDER_0_DISABLE_LOG=false
106+
- UN_FOLDER_0_MOVE_BACK=false
107+
- UN_FOLDER_0_EXTRACT_ISOS=false
108+
## Web Hooks
109+
- UN_WEBHOOK_0_URL=https://notifiarr.com/api/v1/notification/unpackerr/api_key_from_notifiarr_com
110+
- UN_WEBHOOK_0_NAME=
111+
- UN_WEBHOOK_0_SILENT=false
112+
- UN_WEBHOOK_0_EVENTS_0=1
113+
- UN_WEBHOOK_0_EVENTS_1=4
114+
- UN_WEBHOOK_0_EVENTS_2=6
115+
- UN_WEBHOOK_0_NICKNAME=Unpackerr
116+
- UN_WEBHOOK_0_CHANNEL=
117+
- UN_WEBHOOK_0_EXCLUDE_0=readarr
118+
- UN_WEBHOOK_0_EXCLUDE_1=lidarr
119+
- UN_WEBHOOK_0_TEMPLATE_PATH=
120+
- UN_WEBHOOK_0_TEMPLATE=
121+
- UN_WEBHOOK_0_IGNORE_SSL=false
122+
- UN_WEBHOOK_0_TIMEOUT=10s
123+
- UN_WEBHOOK_0_CONTENT_TYPE=application/json
124+
## Command Hooks
125+
- UN_CMDHOOK_0_COMMAND=/downloads/scripts/command.sh
126+
- UN_CMDHOOK_0_NAME=
127+
- UN_CMDHOOK_0_SHELL=false
128+
- UN_CMDHOOK_0_SILENT=false
129+
- UN_CMDHOOK_0_EVENTS_0=1
130+
- UN_CMDHOOK_0_EVENTS_1=4
131+
- UN_CMDHOOK_0_EVENTS_2=7
132+
- UN_CMDHOOK_0_EXCLUDE_0=readarr
133+
- UN_CMDHOOK_0_EXCLUDE_1=lidarr
134+
- UN_CMDHOOK_0_TIMEOUT=10s

0 commit comments

Comments
 (0)