mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-06-11 14:54:34 -04:00
- Adds a non-root startup path at user 1000:1000 - skips privilege escalation and ownership checks. Works e.g. for kubernetes deployments (user 1000:1000 and runAsNonRoot enabled). - Remove startup check/chown commands for user-owned folders. Checks can be done with a "Test destination" button in settings which performs a test write. Users are responsible for fixing their own permissions. - Update docs
21 lines
608 B
YAML
21 lines
608 B
YAML
# Routes all traffic through Tor - requires root startup
|
|
services:
|
|
shelfmark-tor:
|
|
image: ghcr.io/calibrain/shelfmark:latest
|
|
environment:
|
|
FLASK_PORT: 8084
|
|
USING_TOR: true
|
|
PUID: 1000
|
|
PGID: 1000
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
ports:
|
|
- 8084:8084
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /path/to/books:/books # Default destination for book downloads
|
|
- /path/to/config:/config # App configuration
|
|
# Required for torrent / usenet - path must match your download client's volume exactly
|
|
# - /path/to/downloads:/path/to/downloads
|