Switched libreddit (deprecated) to redlib

This commit is contained in:
Mike Wilson
2024-07-17 09:45:32 -04:00
parent b47f57792d
commit ba7a0f636b
4 changed files with 34 additions and 27 deletions

View File

@@ -16,7 +16,7 @@
- overseerr
- ntfy
- gluetun
- name: recyclarr
- name: redlib
tags: test
- nextcloud
- readarr
@@ -25,7 +25,7 @@
- deemix
- barassistant
- mealie
- libreddit
- recyclarr
- firefly3
- sabnzbd
- unifi-controller

View File

@@ -1,25 +0,0 @@
version: "{{ docker_compose_version }}"
networks:
traefik:
external: true
services:
libreddit:
container_name: libreddit
image: libreddit/libreddit
restart: unless-stopped
networks:
- traefik
environment:
LIBREDDIT_DEFAULT_SHOW_NSFW: "on"
LIBREDDIT_DEFAULT_THEME: "system"
LIBREDDIT_DEFAULT_WIDE: "on"
LIBREDDIT_DEFAULT_LAYOUT: "card"
LIBREDDIT_DEFAULT_USE_HLS: "on"
LIBREDDIT_DEFAULT_SUBSCRIPTIONS: "hometheater+flashlight+navyblazer"
labels:
traefik.enable: true
traefik.http.routers.libreddit.rule: "Host(`libreddit.local.{{ personal_domain }}`)"
traefik.http.routers.libreddit.middlewares: lan-whitelist@file
traefik.http.services.libreddit.loadbalancer.server.port: 8080

View File

@@ -0,0 +1,32 @@
version: "{{ docker_compose_version }}"
networks:
traefik:
external: true
services:
redlib:
container_name: redlib
image: quay.io/redlib/redlib:latest
restart: unless-stopped
user: nobody
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
networks:
- traefik
environment:
REDLIB_DEFAULT_SHOW_NSFW: "on"
REDLIB_DEFAULT_THEME: "system"
REDLIB_DEFAULT_WIDE: "on"
REDLIB_DEFAULT_LAYOUT: "card"
REDLIB_DEFAULT_USE_HLS: "on"
REDLIB_DEFAULT_SUBSCRIPTIONS: "hometheater+flashlight+navyblazer"
REDLIB_DEFAULT_DISABLE_VISIT_REDDIT_CONFIRMATION: "on"
labels:
traefik.enable: true
traefik.http.routers.redlib.rule: "Host(`redlib.local.{{ personal_domain }}`)"
traefik.http.routers.redlib.middlewares: lan-whitelist@file
traefik.http.services.redlib.loadbalancer.server.port: 8080