Sanitized mirror from private repository - 2026-04-18 11:19:59 UTC
This commit is contained in:
23
hosts/vms/homelab-vm/libreddit.yaml
Normal file
23
hosts/vms/homelab-vm/libreddit.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
# Redlib - Reddit frontend (maintained fork of Libreddit)
|
||||
# Port: 9000
|
||||
# Privacy-respecting Reddit frontend
|
||||
# NOTE: Reddit actively blocks these frontends. May return 403 errors.
|
||||
# See: https://github.com/redlib-org/redlib/issues
|
||||
|
||||
services:
|
||||
redlib:
|
||||
image: quay.io/redlib/redlib:latest
|
||||
container_name: Redlib
|
||||
hostname: redlib
|
||||
mem_limit: 2g
|
||||
cpu_shares: 768
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
read_only: true
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
ports:
|
||||
- 9000:8080
|
||||
restart: on-failure:5
|
||||
Reference in New Issue
Block a user