diff --git a/.env b/.env index 74c73e6..3142772 100644 --- a/.env +++ b/.env @@ -152,6 +152,7 @@ PROWLARR_HOSTNAME=prowlarr.${DOMAIN} RADARR_HOSTNAME=radarr.${DOMAIN} RADARR4K_HOSTNAME=4k.radarr.${DOMAIN} RADARRANIME_HOSTNAME=anime.radarr.${DOMAIN} +REDLIB_HOSTNAME=redlib.${DOMAIN} SEANIME_HOSTNAME=seanime.${DOMAIN} SEARXNG_HOSTNAME=searxng.${DOMAIN} SONARR_HOSTNAME=sonarr.${DOMAIN} diff --git a/apps/cloudflare-ddns/compose.yaml b/apps/cloudflare-ddns/compose.yaml index 6af4336..0d08335 100644 --- a/apps/cloudflare-ddns/compose.yaml +++ b/apps/cloudflare-ddns/compose.yaml @@ -51,6 +51,7 @@ services: ${RADARR_HOSTNAME}, ${RADARR4K_HOSTNAME}, ${RADARRANIME_HOSTNAME}, + ${REDLIB_HOSTNAME}, ${SEANIME_HOSTNAME}, ${SEARXNG_HOSTNAME}, ${SONARR_HOSTNAME}, diff --git a/apps/redlib/.env b/apps/redlib/.env new file mode 100644 index 0000000..72c62d9 --- /dev/null +++ b/apps/redlib/.env @@ -0,0 +1,52 @@ +# Redlib configuration +# See the Configuration section of the README for a more detailed explanation of these settings. + +# Instance-specific settings +# Enable SFW-only mode for the instance +REDLIB_SFW_ONLY=off +# Set a banner message for the instance +REDLIB_BANNER= +# Disable search engine indexing +REDLIB_ROBOTS_DISABLE_INDEXING=off +# Set the Pushshift frontend for "removed" links +REDLIB_PUSHSHIFT_FRONTEND=undelete.pullpush.io + +# Default user settings +# Set the default theme (options: system, light, dark, black, dracula, nord, laserwave, violet, gold, rosebox, gruvboxdark, gruvboxlight) +REDLIB_DEFAULT_THEME=system +# Set the default front page (options: default, popular, all) +REDLIB_DEFAULT_FRONT_PAGE=default +# Set the default layout (options: card, clean, compact) +REDLIB_DEFAULT_LAYOUT=card +# Enable wide mode by default +REDLIB_DEFAULT_WIDE=off +# Set the default post sort method (options: hot, new, top, rising, controversial) +REDLIB_DEFAULT_POST_SORT=hot +# Set the default comment sort method (options: confidence, top, new, controversial, old) +REDLIB_DEFAULT_COMMENT_SORT=confidence +# Enable blurring Spoiler content by default +REDLIB_DEFAULT_BLUR_SPOILER=off +# Enable showing NSFW content by default +REDLIB_DEFAULT_SHOW_NSFW=off +# Enable blurring NSFW content by default +REDLIB_DEFAULT_BLUR_NSFW=off +# Enable HLS video format by default +REDLIB_DEFAULT_USE_HLS=off +# Hide HLS notification by default +REDLIB_DEFAULT_HIDE_HLS_NOTIFICATION=off +# Disable autoplay videos by default +REDLIB_DEFAULT_AUTOPLAY_VIDEOS=off +# Define a default list of subreddit subscriptions (format: sub1+sub2+sub3) +REDLIB_DEFAULT_SUBSCRIPTIONS= +# Define a default list of subreddit filters (format: sub1+sub2+sub3) +REDLIB_DEFAULT_FILTERS= +# Hide awards by default +REDLIB_DEFAULT_HIDE_AWARDS=off +# Hide sidebar and summary +REDLIB_DEFAULT_HIDE_SIDEBAR_AND_SUMMARY=off +# Disable the confirmation before visiting Reddit +REDLIB_DEFAULT_DISABLE_VISIT_REDDIT_CONFIRMATION=off +# Hide score by default +REDLIB_DEFAULT_HIDE_SCORE=off +# Enable fixed navbar by default +REDLIB_DEFAULT_FIXED_NAVBAR=on \ No newline at end of file diff --git a/apps/redlib/compose.yaml b/apps/redlib/compose.yaml new file mode 100644 index 0000000..7fe9e5b --- /dev/null +++ b/apps/redlib/compose.yaml @@ -0,0 +1,29 @@ +services: + redlib: + image: quay.io/redlib/redlib:latest + container_name: redlib + restart: unless-stopped + expose: + - 8080 + user: nobody + read_only: true + security_opt: + - no-new-privileges:true + cap_drop: + - ALL + env_file: + - .env + labels: + - "traefik.enable=true" + - "traefik.http.routers.redlib.rule=Host(`${REDLIB_HOSTNAME?}`)" + - "traefik.http.routers.redlib.entrypoints=websecure" + - "traefik.http.routers.redlib.tls.certresolver=letsencrypt" + - "traefik.http.routers.redlib.middlewares=authelia@docker" + - "traefik.http.services.redlib.loadbalancer.server.port=8080" + healthcheck: + test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"] + interval: 15s + timeout: 3s + profiles: + - redlib + - all \ No newline at end of file diff --git a/compose.yaml b/compose.yaml index 5455702..b1c61cc 100644 --- a/compose.yaml +++ b/compose.yaml @@ -40,6 +40,7 @@ include: - apps/portainer/compose.yaml - apps/prowlarr/compose.yaml - apps/radarr/compose.yaml + - apps/redlib/compose.yaml - apps/realdebrid-account-monitor/compose.yaml - apps/recyclarr/compose.yaml - apps/seanime/compose.yaml