mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
feat: add redlib
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -51,6 +51,7 @@ services:
|
||||
${RADARR_HOSTNAME},
|
||||
${RADARR4K_HOSTNAME},
|
||||
${RADARRANIME_HOSTNAME},
|
||||
${REDLIB_HOSTNAME},
|
||||
${SEANIME_HOSTNAME},
|
||||
${SEARXNG_HOSTNAME},
|
||||
${SONARR_HOSTNAME},
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user