docker-bits/lsio/doplarr/docker-run.sh

30 lines
2.5 KiB
Bash
Raw Normal View History

2022-01-31 00:34:45 +00:00
# [Doplarr](https://github.com/kiranshila/Doplarr) is an *arr request bot for
# Discord.'
source ./.env
docker run -d \
--name=doplarr \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
-e DISCORD__TOKEN=<discord__token> `# Specify your discord bot token.` \
2022-02-01 00:36:41 +00:00
-e OVERSEERR__API=<overseerr__api> `# Specify your Overseerr API key. Leave blank if using Radarr/Sonarr.` \
2022-01-31 00:34:45 +00:00
-e OVERSEERR__URL=http://localhost:5055 `# Specify your Overseerr URL. Leave blank if using Radarr/Sonarr.` \
2022-02-01 00:36:41 +00:00
-e RADARR__API=<radarr__api> `# Specify your Radarr API key. Leave blank if using Overseerr.` \
2022-01-31 00:34:45 +00:00
-e RADARR__URL=http://localhost:7878 `# Specify your Radarr URL. Leave blank if using Overseerr.` \
2022-02-01 00:36:41 +00:00
-e SONARR__API=<sonarr__api> `# Specify your Sonarr API key. Leave blank if using Overseerr.` \
2022-01-31 00:34:45 +00:00
-e SONARR__URL=http://localhost:8989 `# Specify your Sonarr URL. Leave blank if using Overseerr.` \
-e DISCORD__MAX_RESULTS=25 `# optional` `# Sets the maximum size of the search results selection` \
2022-02-01 00:36:41 +00:00
-e DISCORD__ROLE_ID=<not_set_by_default> `# optional` `# The discord role id for users of the bot (omitting this lets everyone on the server use the bot)` \
2022-01-31 00:34:45 +00:00
-e DISCORD__REQUESTED_MSG_STYLE=:plain `# optional` `# Sets the style of the request alert message. One of `:plain` `:embed` `:none`` \
2022-02-01 00:36:41 +00:00
-e SONARR__QUALITY_PROFILE=<not_set_by_default> `# optional` `# The name of the quality profile to use by default for Sonarr` \
-e RADARR__QUALITY_PROFILE=<not_set_by_default> `# optional` `# The name of the quality profile to use by default for Radarr` \
-e SONARR__LANGUAGE_PROFILE=<not_set_by_default> `# optional` `# The name of the language profile to use by default for Radarr` \
-e OVERSEERR__DEFAULT_ID=<not_set_by_default> `# optional` `# The Overseerr user id to use by default if there is no associated discord account for the requester` \
2022-01-31 00:34:45 +00:00
-e PARTIAL_SEASONS=true `# optional` `# Sets whether users can request partial seasons.` \
-e LOG_LEVEL=:info `# optional` `# The log level for the logging backend. This can be changed for debugging purposes. One of trace `:debug` `:info` `:warn` `:error` `:fatal` `:report`` \
2022-02-01 00:36:41 +00:00
-e JAVA_OPTS=<not_set_by_default> `# optional` `# For passing additional java options.` \
2022-01-31 00:34:45 +00:00
-v ${BASEDIR:-/volume1/docker}/doplarr/config:/config `# Contains all relevant configuration files.` \
--restart unless-stopped \
ghcr.io/linuxserver/doplarr