Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/recyclarr/commit/c0ef64bcbca08d4cc627f4597bf4d91442a37965?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
12 additions and
19 deletions
@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- JSON Schema added to the config template YAML file.
- JSON Schema added to the config template YAML file.
- `names` list under `custom_formats` in config YAML is now deprecated. Use `trash_ids` to list your
- `names` list under `custom_formats` in config YAML is now deprecated. Use `trash_ids` to list your
custom formats instead.
custom formats instead.
- Docker: The image is now rootless. The `PUID` and `PGID` environment variables are no longer used.
See the [Docker] wiki page for more details.
### Fixed
### Fixed
@ -22,18 +22,16 @@ ENV RECYCLARR_APP_DATA=/config \
# as needed.
# as needed.
CRON_SCHEDULE = "@daily" \
CRON_SCHEDULE = "@daily" \
# The GLOBALIZATION variable is so that we do not need libicu installed (saves us ~40MB).
# The GLOBALIZATION variable is so that we do not need libicu installed (saves us ~40MB).
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = true \
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = true
# User can specify their own UID/GID for the 'recyclarr' user if they want
PUID = 1000 \
PGID = 1000
VOLUME /config
RUN set -e; \
RUN set -e; \
apk add --no-cache busybox-suid su-exec libstdc++ tzdata; \
apk add --no-cache libstdc++ tzdata; \
mkdir -p " $DOTNET_BUNDLE_EXTRACT_BASE_DIR " && chmod 777 " $DOTNET_BUNDLE_EXTRACT_BASE_DIR "
mkdir -p " $DOTNET_BUNDLE_EXTRACT_BASE_DIR " && chmod 777 " $DOTNET_BUNDLE_EXTRACT_BASE_DIR "
COPY --chmod= 755 --from= build /build/recyclarr /usr/local/bin
COPY --chmod= 555 --from= build /build/recyclarr /usr/local/bin
COPY --chmod= 755 ./scripts/prod/*.sh /
COPY --chmod= 555 ./scripts/prod/*.sh /
USER 1000:1000
VOLUME /config
ENTRYPOINT [ "/entrypoint.sh" ]
ENTRYPOINT [ "/entrypoint.sh" ]
@ -8,6 +8,7 @@ networks:
services:
services:
recyclarr:
recyclarr:
image : ghcr.io/recyclarr/recyclarr
image : ghcr.io/recyclarr/recyclarr
user : 1000 : 1000
build:
build:
context : .
context : .
args:
args:
@ -1,14 +1,6 @@
#!/bin/sh
#!/bin/sh
set -e
set -e
userspec = " $PUID : $PGID "
chown " $userspec " " $RECYCLARR_APP_DATA "
if [ ! -f " $RECYCLARR_APP_DATA /recyclarr.yml " ] ; then
su-exec " $userspec " recyclarr create-config
fi
# If the script has any arguments, invoke the CLI instead. This allows the image to be used as a CLI
# If the script has any arguments, invoke the CLI instead. This allows the image to be used as a CLI
# with something like:
# with something like:
#
#
@ -17,10 +9,10 @@ fi
# ```
# ```
#
#
if [ " $# " -gt 0 ] ; then
if [ " $# " -gt 0 ] ; then
su-exec " $userspec " recyclarr " $@ "
recyclarr " $@ "
else
else
echo "Creating crontab file..."
echo "Creating crontab file..."
echo " $CRON_SCHEDULE su-exec \"$userspec \" /cron.sh" | crontab -
echo " $CRON_SCHEDULE /cron.sh" | crontab -
crontab -l
crontab -l