0
0

Redlib: updated settings

This commit is contained in:
Opnxng 2024-05-29 06:25:43 +08:00
parent d3df15d03f
commit a6a7645fb4
2 changed files with 20 additions and 21 deletions

View File

@ -3,22 +3,28 @@ version: '3.7'
services: services:
redlib: redlib:
container_name: redlib container_name: redlib
image: ghcr.io/kankerdev/redlib:latest image: ghcr.io/kankerdev/redlib:latest # Temp workaround
# Temp workaround
# image: quay.io/redlib/redlib:latest-arm # image: quay.io/redlib/redlib:latest-arm
security_opt: security_opt:
#- seccomp="seccomp-redlib.json" #- seccomp="seccomp-redlib.json"
- no-new-privileges - no-new-privileges
user: nobody
read_only: true
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=Asia/Singapore - TZ=Asia/Singapore
- LIBREDDIT_DEFAULT_THEME=black - RELIB_DEFAULT_THEME=black
- LIBREDDIT_DEFAULT_SHOW_NSFW=on
- REDLIB_DEFAULT_THEME=black
- REDLIB_DEFAULT_SHOW_NSFW=on - REDLIB_DEFAULT_SHOW_NSFW=on
- RUST_LOG=redlib=trace #logging on the crate - REDLIB_DEFAULT_BLUR_NSFW=off
#- RUST_LOG=trace - 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 restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"] test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]

View File

@ -1,22 +1,12 @@
config:
oracle1:
- paulgo
oracle2:
- paulgo
oracle3:
- paulgo
oracle4:
- paulgo
compose: compose:
oracle1: oracle1:
- paulgo - redlib
oracle2: oracle2:
- paulgo - redlib
oracle3: oracle3:
- paulgo - redlib
oracle4: oracle4:
- paulgo - redlib
# ---------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------
@ -140,11 +130,13 @@ deployed-config:
- anonymousoverflow - anonymousoverflow
- scribe - scribe
- priviblur - priviblur
- paulgo
oracle2: oracle2:
- firefox - firefox
- anonymousoverflow - anonymousoverflow
- scribe - scribe
- priviblur - priviblur
- paulgo
oracle3: oracle3:
- ntfy - ntfy
- gitea - gitea
@ -154,6 +146,7 @@ deployed-config:
- scribe - scribe
- priviblur - priviblur
- breezewiki - breezewiki
- paulgo
oracle4: oracle4:
- authelia - authelia
- nitter - nitter