Scrapes Reddit HTML and serves it as Redlib-compatible JSON.
[ ! ] Note: This is only an HTML proxy, not a Redlib container.
services:
redlib-html-proxy:
image: mv12star/redlib-html-proxy:latest
container_name: redlib-html-proxy
environment:
PORT: 8021 # optional; default 3002
DEBUG_MODE: false
#ports:
# - 127.0.0.1:8021:8021
#network_mode: "container:gluetun" # for redlib public instances
volumes:
- ./cookies/cookies.txt:/cookies/cookies.txt:ro
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
Allows for cookie rotation via cookies.txt:
# comments and blank lines are ignored
reddit_session=aaa; token_v2=bbb; loid=ccc
reddit_session=ddd; token_v2=eee; loid=fff
Behaviour:
Content type
Image
Digest
sha256:ea213b1f6…
Size
9.1 MB
Last updated
17 days ago
docker pull mv12star/redlib-html-proxy