Workflow update

main
technorabilia 2 years ago
parent cb8a340bc4
commit 6a80fa4c32

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

@ -0,0 +1,29 @@
# [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.` \
-e OVERSEERR__API= `# Specify your Overseerr API key. Leave blank if using Radarr/Sonarr.` \
-e OVERSEERR__URL=http://localhost:5055 `# Specify your Overseerr URL. Leave blank if using Radarr/Sonarr.` \
-e RADARR__API= `# Specify your Radarr API key. Leave blank if using Overseerr.` \
-e RADARR__URL=http://localhost:7878 `# Specify your Radarr URL. Leave blank if using Overseerr.` \
-e SONARR__API= `# Specify your Sonarr API key. Leave blank if using Overseerr.` \
-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` \
-e DISCORD__ROLE_ID= `# optional` `# The discord role id for users of the bot (omitting this lets everyone on the server use the bot)` \
-e DISCORD__REQUESTED_MSG_STYLE=:plain `# optional` `# Sets the style of the request alert message. One of `:plain` `:embed` `:none`` \
-e SONARR__QUALITY_PROFILE= `# optional` `# The name of the quality profile to use by default for Sonarr` \
-e RADARR__QUALITY_PROFILE= `# optional` `# The name of the quality profile to use by default for Radarr` \
-e SONARR__LANGUAGE_PROFILE= `# optional` `# The name of the language profile to use by default for Radarr` \
-e OVERSEERR__DEFAULT_ID= `# optional` `# The Overseerr user id to use by default if there is no associated discord account for the requester` \
-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`` \
-e JAVA_OPTS= `# optional` `# For passing additional java options.` \
-v ${BASEDIR:-/volume1/docker}/doplarr/config:/config `# Contains all relevant configuration files.` \
--restart unless-stopped \
ghcr.io/linuxserver/doplarr

@ -0,0 +1,3 @@
ln -s ../docker-env.cfg ./.env
. ./.env
mkdir -p ${BASEDIR:-/volume1/docker}/doplarr/config
Loading…
Cancel
Save