From a6a7645fb4d4bba9c870e9b4bc2f414149dc2d1e Mon Sep 17 00:00:00 2001 From: Opnxng Date: Wed, 29 May 2024 06:25:43 +0800 Subject: [PATCH] Redlib: updated settings --- templates/compose/redlib.yaml.j2 | 20 +++++++++++++------- vars/services.yaml | 21 +++++++-------------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/templates/compose/redlib.yaml.j2 b/templates/compose/redlib.yaml.j2 index 8e455e5..bb7fba6 100644 --- a/templates/compose/redlib.yaml.j2 +++ b/templates/compose/redlib.yaml.j2 @@ -3,22 +3,28 @@ version: '3.7' services: redlib: container_name: redlib - image: ghcr.io/kankerdev/redlib:latest - # Temp workaround + image: ghcr.io/kankerdev/redlib:latest # Temp workaround # image: quay.io/redlib/redlib:latest-arm security_opt: #- seccomp="seccomp-redlib.json" - no-new-privileges + user: nobody + read_only: true environment: - PUID=1000 - PGID=1000 - TZ=Asia/Singapore - - LIBREDDIT_DEFAULT_THEME=black - - LIBREDDIT_DEFAULT_SHOW_NSFW=on - - REDLIB_DEFAULT_THEME=black + - RELIB_DEFAULT_THEME=black - REDLIB_DEFAULT_SHOW_NSFW=on - - RUST_LOG=redlib=trace #logging on the crate - #- RUST_LOG=trace + - REDLIB_DEFAULT_BLUR_NSFW=off + - REDLIB_DEFAULT_LAYOUT=card + - REDLIB_DEFAULT_THEME=black + - REDLIB_SFW_ONLY=off + # - REDLIB_BANNER= + - REDLIB_ROBOTS_DISABLE_INDEXING=on + - REDLIB_PUSHSHIFT_FRONTEND=undelete.pullpush.io + # - RUST_LOG=redlib=trace #logging on the crate + - RUST_LOG=trace restart: unless-stopped healthcheck: test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"] diff --git a/vars/services.yaml b/vars/services.yaml index 6cb7813..a226c75 100644 --- a/vars/services.yaml +++ b/vars/services.yaml @@ -1,22 +1,12 @@ -config: - oracle1: - - paulgo - oracle2: - - paulgo - oracle3: - - paulgo - oracle4: - - paulgo - compose: oracle1: - - paulgo + - redlib oracle2: - - paulgo + - redlib oracle3: - - paulgo + - redlib oracle4: - - paulgo + - redlib # ---------------------------------------------------------------------------------------------------- @@ -140,11 +130,13 @@ deployed-config: - anonymousoverflow - scribe - priviblur + - paulgo oracle2: - firefox - anonymousoverflow - scribe - priviblur + - paulgo oracle3: - ntfy - gitea @@ -154,6 +146,7 @@ deployed-config: - scribe - priviblur - breezewiki + - paulgo oracle4: - authelia - nitter