24 lines
649 B
YAML
24 lines
649 B
YAML
# 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
|