Add docker-compose configuration for Unpackerr service
This commit is contained in:
104
unpackerr/docker-compose.yml
Normal file
104
unpackerr/docker-compose.yml
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
### Unpackerr docker-compose.yml Example
|
||||||
|
### See this URL for variable descriptions and options:
|
||||||
|
### https://github.com/Unpackerr/unpackerr#docker-env-variables
|
||||||
|
##################################################################
|
||||||
|
version: "3.7"
|
||||||
|
services:
|
||||||
|
|
||||||
|
unpackerr:
|
||||||
|
image: golift/unpackerr
|
||||||
|
container_name: unpackerr
|
||||||
|
volumes:
|
||||||
|
# You need at least this one volume mapped so Unapckerr can find your files to extract.
|
||||||
|
# Make sure this matches your Starr apps; the folder mount (/downloads or /data) should be identical.
|
||||||
|
- /unsorted/qbit:/downloads
|
||||||
|
restart: always
|
||||||
|
# Get the user:group correct so unpackerr can read and write to your files.
|
||||||
|
#user: ${PUID}:${PGID}
|
||||||
|
user: 1000:1006
|
||||||
|
# What you see below are defaults for this compose. You only need to modify things specific to your environment.
|
||||||
|
environment:
|
||||||
|
- TZ=${TZ}
|
||||||
|
# General config
|
||||||
|
- UN_DEBUG=false
|
||||||
|
- 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
|
||||||
|
# Sonarr Config
|
||||||
|
- UN_SONARR_0_URL=http://sonarr:8989
|
||||||
|
- UN_SONARR_0_API_KEY=SonarrAPIKey
|
||||||
|
- UN_SONARR_0_PATHS_0=/downloads/sonarr
|
||||||
|
- 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=RadarrAPIKey
|
||||||
|
- UN_RADARR_0_PATHS_0=/downloads/radarr
|
||||||
|
- 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=LidarrAPIKey
|
||||||
|
- UN_LIDARR_0_PATHS_0=/downloads/lidarr
|
||||||
|
- 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=ReadarrAPIKey
|
||||||
|
- UN_READARR_0_PATHS_0=/downloads/readarr
|
||||||
|
- 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_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
|
||||||
|
# Webhook Config
|
||||||
|
- UN_WEBHOOK_0_URL=https://discord.com/api/webhooks/YourDiscordBotID/YourDiscordBotToken
|
||||||
|
- UN_WEBHOOK_0_NAME=
|
||||||
|
- UN_WEBHOOK_0_NICKNAME=Unpackerr
|
||||||
|
- UN_WEBHOOK_0_CHANNEL=WebhookChannelID
|
||||||
|
- 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
|
||||||
|
networks: # Specify network for container
|
||||||
|
- homelab
|
||||||
|
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area..
|
||||||
|
# some-additional-network:
|
||||||
|
# aliases:
|
||||||
|
# - simplename # This isn't allowed in portainer, must be called in the service.
|
||||||
|
homelab:
|
||||||
|
# name: homelab # Networks can also be given a custom name, not needed if existing
|
||||||
|
external: true # This option causes compose to join the above network instead of making a _default one (supposedly)
|
||||||
Reference in New Issue
Block a user