Skip to content

Commit

Permalink
Merge pull request #460 from Unpackerr/dn2_generator
Browse files Browse the repository at this point in the history
Generate config and compose examples
  • Loading branch information
davidnewhall authored Jul 16, 2024
2 parents 3c2a448 + c276bb7 commit 364bc87
Show file tree
Hide file tree
Showing 12 changed files with 425 additions and 225 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Change this line.
/unpackerr

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

# The rest is probably fine.
/init/macos/*.app/Contents/MacOS/*
Expand Down
202 changes: 115 additions & 87 deletions examples/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
### Unpackerr docker-compose.yml Example
### Please read this page for help using this example:
### https://unpackerr.zip/docs/install/compose
### Generator: https://notifiarr.com/unpackerr
##################################################################
services:

## Copy the service below to your file if you have other services.
unpackerr:
image: golift/unpackerr
container_name: unpackerr
Expand All @@ -14,93 +15,120 @@ services:
restart: always
# Get the user:group correct so unpackerr can read and write to your files.
user: ${PUID}:${PGID}
#user: 1000:1000
#user: 1000:100
# What you see below are defaults for this compose. You only need to modify things specific to your environment.
# Remove apps and feature configs you do not use or need.
# ie. Remove all lines that begin with UN_CMDHOOK, UN_WEBHOOK, UN_FOLDER, UN_WEBSERVER, and other apps you do not use.
environment:
- TZ=${TZ}
# General config
- UN_QUIET=false
- UN_DEBUG=false
- UN_ERROR_STDERR=false
- UN_LOG_QUEUES=1m
- UN_LOG_FILE=
- UN_LOG_FILES=10
- UN_LOG_FILE_MB=10
- UN_INTERVAL=2m
- UN_START_DELAY=1m
- UN_RETRY_DELAY=5m
- UN_MAX_RETRIES=3
- UN_PARALLEL=1
- UN_FILE_MODE=0644
- UN_DIR_MODE=0755
- UN_ACTIVITY=false
# Sonarr Config
- UN_SONARR_0_URL=http://sonarr:8989
- UN_SONARR_0_API_KEY=
- UN_SONARR_0_PROTOCOLS=torrent
- UN_SONARR_0_TIMEOUT=10s
- UN_SONARR_0_DELETE_ORIG=false
- UN_SONARR_0_DELETE_DELAY=5m
# Radarr Config
- UN_RADARR_0_URL=http://radarr:7878
- UN_RADARR_0_API_KEY=
- UN_RADARR_0_PROTOCOLS=torrent
- UN_RADARR_0_TIMEOUT=10s
- UN_RADARR_0_DELETE_ORIG=false
- UN_RADARR_0_DELETE_DELAY=5m
# Lidarr Config
- UN_LIDARR_0_URL=http://lidarr:8686
- UN_LIDARR_0_API_KEY=
- UN_LIDARR_0_PROTOCOLS=torrent
- UN_LIDARR_0_TIMEOUT=10s
- UN_LIDARR_0_DELETE_ORIG=false
- UN_LIDARR_0_DELETE_DELAY=5m
# Readarr Config
- UN_READARR_0_URL=http://readarr:8787
- UN_READARR_0_API_KEY=
- UN_READARR_0_PROTOCOLS=torrent
- UN_READARR_0_TIMEOUT=10s
- UN_READARR_0_DELETE_ORIG=false
- UN_READARR_0_DELETE_DELAY=5m
# Folder Config
- UN_FOLDERS_INTERVAL=0s
- UN_FOLDER_0_PATH=
- UN_FOLDER_0_EXTRACT_PATH=
- UN_FOLDER_0_DELETE_AFTER=10m
- UN_FOLDER_0_DELETE_ORIGINAL=false
- UN_FOLDER_0_DELETE_FILES=false
- UN_FOLDER_0_MOVE_BACK=false
- UN_FOLDER_0_DISABLE_LOG=false
- UN_FOLDER_0_DISABLE_RECURSION=false
# Webhook Config
- UN_WEBHOOK_0_URL=
- UN_WEBHOOK_0_NAME=
- UN_WEBHOOK_0_NICKNAME=Unpackerr
- UN_WEBHOOK_0_CHANNEL=
- UN_WEBHOOK_0_TIMEOUT=10s
- UN_WEBHOOK_0_SILENT=false
- UN_WEBHOOK_0_IGNORE_SSL=false
- UN_WEBHOOK_0_EXCLUDE_0=
- UN_WEBHOOK_0_EVENTS_0=0
- UN_WEBHOOK_0_TEMPLATE_PATH=
- UN_WEBHOOK_0_CONTENT_TYPE=application/json
# Command Hook Config
- UN_CMDHOOK_0_COMMAND=
- UN_CMDHOOK_0_NAME=
- UN_CMDHOOK_0_TIMEOUT=10s
- UN_CMDHOOK_0_SILENT=false
- UN_CMDHOOK_0_SHELL=false
- UN_CMDHOOK_0_EXCLUDE_0=
- UN_CMDHOOK_0_EVENTS_0=0
# Web Server Config
- UN_WEBSERVER_METRICS=false
- UN_WEBSERVER_LISTEN_ADDR=0.0.0.0:5656
- UN_WEBSERVER_LOG_FILE=
- UN_WEBSERVER_LOG_FILES=10
- UN_WEBSERVER_LOG_FILE_MB=10
- UN_WEBSERVER_SSL_CERT_FILE=
- UN_WEBSERVER_SSL_KEY_FILE=
- UN_WEBSERVER_URLBASE=/
- UN_WEBSERVER_UPSTREAMS=
- TZ=${TZ}
## Global Settings
- UN_DEBUG=false
- UN_QUIET=false
- UN_ERROR_STDERR=false
- UN_ACTIVITY=false
- UN_LOG_QUEUES=1m
- UN_LOG_FILE=/downloads/unpackerr.log
- UN_LOG_FILES=10
- UN_LOG_FILE_MB=10
- UN_INTERVAL=2m
- UN_START_DELAY=1m
- UN_RETRY_DELAY=5m
- UN_MAX_RETRIES=3
- UN_PARALLEL=1
- UN_FILE_MODE=0644
- UN_DIR_MODE=0755
## Web Server
- UN_WEBSERVER_METRICS=false
- UN_WEBSERVER_LISTEN_ADDR=0.0.0.0:5656
- UN_WEBSERVER_LOG_FILE=
- UN_WEBSERVER_LOG_FILES=10
- UN_WEBSERVER_LOG_FILE_MB=10
- UN_WEBSERVER_SSL_CERT_FILE=
- UN_WEBSERVER_SSL_KEY_FILE=
- UN_WEBSERVER_URLBASE=/
- UN_WEBSERVER_UPSTREAMS=
## Folder Settings
- UN_FOLDERS_INTERVAL=0s
- UN_FOLDERS_BUFFER=20000
## Sonarr Settings
- UN_SONARR_0_URL=http://127.0.0.1:8989
- UN_SONARR_0_API_KEY=0123456789abcdef0123456789abcdef
- UN_SONARR_0_PATHS_0=/downloads
- UN_SONARR_0_PROTOCOLS=torrent
- UN_SONARR_0_TIMEOUT=10s
- UN_SONARR_0_DELETE_DELAY=5m
- UN_SONARR_0_DELETE_ORIG=false
- UN_SONARR_0_SYNCTHING=false
## Radarr Settings
- UN_RADARR_0_URL=http://127.0.0.1:7878
- UN_RADARR_0_API_KEY=0123456789abcdef0123456789abcdef
- UN_RADARR_0_PATHS_0=/downloads
- UN_RADARR_0_PROTOCOLS=torrent
- UN_RADARR_0_TIMEOUT=10s
- UN_RADARR_0_DELETE_DELAY=5m
- UN_RADARR_0_DELETE_ORIG=false
- UN_RADARR_0_SYNCTHING=false
## Lidarr Settings
- UN_LIDARR_0_URL=http://127.0.0.1:8686
- UN_LIDARR_0_API_KEY=0123456789abcdef0123456789abcdef
- UN_LIDARR_0_PATHS_0=/downloads
- UN_LIDARR_0_PROTOCOLS=torrent
- UN_LIDARR_0_TIMEOUT=10s
- UN_LIDARR_0_DELETE_DELAY=5m
- UN_LIDARR_0_DELETE_ORIG=false
- UN_LIDARR_0_SYNCTHING=false
## Readarr Settings
- UN_READARR_0_URL=http://127.0.0.1:8787
- UN_READARR_0_API_KEY=0123456789abcdef0123456789abcdef
- UN_READARR_0_PATHS_0=/downloads
- UN_READARR_0_PROTOCOLS=torrent
- UN_READARR_0_TIMEOUT=10s
- UN_READARR_0_DELETE_DELAY=5m
- UN_READARR_0_DELETE_ORIG=false
- UN_READARR_0_SYNCTHING=false
## Whisparr Settings
- UN_WHISPARR_0_URL=http://127.0.0.1:6969
- UN_WHISPARR_0_API_KEY=0123456789abcdef0123456789abcdef
- UN_WHISPARR_0_PATHS_0=/downloads
- UN_WHISPARR_0_PROTOCOLS=torrent
- UN_WHISPARR_0_TIMEOUT=10s
- UN_WHISPARR_0_DELETE_DELAY=5m
- UN_WHISPARR_0_DELETE_ORIG=false
- UN_WHISPARR_0_SYNCTHING=false
## Watch Folders
- UN_FOLDER_0_PATH=/downloads/auto_extract
- UN_FOLDER_0_EXTRACT_PATH=
- UN_FOLDER_0_DELETE_AFTER=10m
- UN_FOLDER_0_DISABLE_RECURSION=false
- UN_FOLDER_0_DELETE_FILES=false
- UN_FOLDER_0_DELETE_ORIGINAL=false
- UN_FOLDER_0_DISABLE_LOG=false
- UN_FOLDER_0_MOVE_BACK=false
- UN_FOLDER_0_EXTRACT_ISOS=false
## Web Hooks
- UN_WEBHOOK_0_URL=https://notifiarr.com/api/v1/notification/unpackerr/api_key_from_notifiarr_com
- UN_WEBHOOK_0_NAME=
- UN_WEBHOOK_0_SILENT=false
- UN_WEBHOOK_0_EVENTS_0=1
- UN_WEBHOOK_0_EVENTS_1=4
- UN_WEBHOOK_0_EVENTS_2=6
- UN_WEBHOOK_0_NICKNAME=Unpackerr
- UN_WEBHOOK_0_CHANNEL=
- UN_WEBHOOK_0_EXCLUDE_0=readarr
- UN_WEBHOOK_0_EXCLUDE_1=lidarr
- UN_WEBHOOK_0_TEMPLATE_PATH=
- UN_WEBHOOK_0_TEMPLATE=
- UN_WEBHOOK_0_IGNORE_SSL=false
- UN_WEBHOOK_0_TIMEOUT=10s
- UN_WEBHOOK_0_CONTENT_TYPE=application/json
## Command Hooks
- UN_CMDHOOK_0_COMMAND=/downloads/scripts/command.sh
- UN_CMDHOOK_0_NAME=
- UN_CMDHOOK_0_SHELL=false
- UN_CMDHOOK_0_SILENT=false
- UN_CMDHOOK_0_EVENTS_0=1
- UN_CMDHOOK_0_EVENTS_1=4
- UN_CMDHOOK_0_EVENTS_2=7
- UN_CMDHOOK_0_EXCLUDE_0=readarr
- UN_CMDHOOK_0_EXCLUDE_1=lidarr
- UN_CMDHOOK_0_TIMEOUT=10s
Loading

0 comments on commit 364bc87

Please sign in to comment.