chore: Update Redlib configuration settings
This commit is contained in:
+48
-1
@@ -433,4 +433,51 @@ HELP_AND_FAQ_URL=https://librechat.ai
|
|||||||
# E2E_USER_EMAIL=
|
# E2E_USER_EMAIL=
|
||||||
# E2E_USER_PASSWORD=
|
# E2E_USER_PASSWORD=
|
||||||
|
|
||||||
EMBEDDINGS_PROVIDER=huggingface
|
EMBEDDINGS_PROVIDER=huggingface
|
||||||
|
|
||||||
|
# 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=124c41
|
||||||
|
# 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 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=LocalLLaMA+programming+singularity
|
||||||
|
# Hide awards by default
|
||||||
|
REDLIB_DEFAULT_HIDE_AWARDS=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
|
||||||
|
|||||||
@@ -224,6 +224,16 @@ http:
|
|||||||
certResolver: letsencrypt
|
certResolver: letsencrypt
|
||||||
service: bin_app
|
service: bin_app
|
||||||
|
|
||||||
|
redlib-router:
|
||||||
|
entryPoints:
|
||||||
|
- web-secure
|
||||||
|
rule: "Host(`redlib.furyhawk.lol`)"
|
||||||
|
middlewares:
|
||||||
|
- csrf
|
||||||
|
tls:
|
||||||
|
certResolver: letsencrypt
|
||||||
|
service: redlib_app
|
||||||
|
|
||||||
thelounge-router:
|
thelounge-router:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web-secure
|
- web-secure
|
||||||
@@ -484,6 +494,10 @@ http:
|
|||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: http://LibreChat:3080
|
- url: http://LibreChat:3080
|
||||||
|
redlib_app:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: http://redlib:8080
|
||||||
thelounge_app:
|
thelounge_app:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
|
|||||||
+56
-35
@@ -202,6 +202,28 @@ services:
|
|||||||
postgres:
|
postgres:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|
||||||
|
cheatsheets-app:
|
||||||
|
image: furyhawk/cheatsheets:${CHEATSHEETSTAG:-latest}
|
||||||
|
container_name: cheatsheets_app
|
||||||
|
restart: unless-stopped
|
||||||
|
expose:
|
||||||
|
- 80
|
||||||
|
networks:
|
||||||
|
- net
|
||||||
|
- default
|
||||||
|
|
||||||
|
heynote-app:
|
||||||
|
image: furyhawk/heynote:${HEYNOTETAG:-latest}
|
||||||
|
container_name: heynote_app
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
|
expose:
|
||||||
|
- 5173
|
||||||
|
networks:
|
||||||
|
- net
|
||||||
|
- default
|
||||||
|
|
||||||
jellyfin:
|
jellyfin:
|
||||||
image: jellyfin/jellyfin
|
image: jellyfin/jellyfin
|
||||||
container_name: jellyfin
|
container_name: jellyfin
|
||||||
@@ -239,45 +261,26 @@ services:
|
|||||||
- net
|
- net
|
||||||
- default
|
- default
|
||||||
|
|
||||||
heynote-app:
|
redlib:
|
||||||
image: furyhawk/heynote:${HEYNOTETAG:-latest}
|
image: quay.io/redlib/redlib:latest-arm
|
||||||
container_name: heynote_app
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
container_name: redlib
|
||||||
NODE_ENV: production
|
|
||||||
expose:
|
expose:
|
||||||
- 5173
|
- 8080 # Specify `127.0.0.1:8080:8080` instead if using a reverse proxy
|
||||||
|
user: nobody
|
||||||
|
read_only: true
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
# - seccomp=seccomp-redlib.json
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
env_file: .env
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
- default
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
||||||
cheatsheets-app:
|
interval: 5m
|
||||||
image: furyhawk/cheatsheets:${CHEATSHEETSTAG:-latest}
|
timeout: 3s
|
||||||
container_name: cheatsheets_app
|
|
||||||
restart: unless-stopped
|
|
||||||
expose:
|
|
||||||
- 80
|
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
- default
|
|
||||||
|
|
||||||
syncthing:
|
|
||||||
image: syncthing/syncthing
|
|
||||||
container_name: syncthing
|
|
||||||
environment:
|
|
||||||
- PUID=1000
|
|
||||||
- PGID=1000
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- ~/st-sync:/var/syncthing
|
|
||||||
ports:
|
|
||||||
- 8384:8384 # Web UI
|
|
||||||
- 22000:22000/tcp # TCP file transfers
|
|
||||||
- 22000:22000/udp # QUIC file transfers
|
|
||||||
- 21027:21027/udp # Receive local discovery broadcasts
|
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
- default
|
|
||||||
|
|
||||||
thelounge:
|
thelounge:
|
||||||
image: ghcr.io/thelounge/thelounge:latest
|
image: ghcr.io/thelounge/thelounge:latest
|
||||||
@@ -323,6 +326,24 @@ services:
|
|||||||
- net
|
- net
|
||||||
- default
|
- default
|
||||||
|
|
||||||
|
syncthing:
|
||||||
|
image: syncthing/syncthing
|
||||||
|
container_name: syncthing
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ~/st-sync:/var/syncthing
|
||||||
|
ports:
|
||||||
|
- 8384:8384 # Web UI
|
||||||
|
- 22000:22000/tcp # TCP file transfers
|
||||||
|
- 22000:22000/udp # QUIC file transfers
|
||||||
|
- 21027:21027/udp # Receive local discovery broadcasts
|
||||||
|
networks:
|
||||||
|
- net
|
||||||
|
- default
|
||||||
|
|
||||||
site_server:
|
site_server:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
container_name: site_server
|
container_name: site_server
|
||||||
|
|||||||
Reference in New Issue
Block a user