Added support for bittorrent
This commit is contained in:
+35
-14
@@ -1,15 +1,4 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:17-alpine
|
||||
environment:
|
||||
POSTGRES_DB: pagemanager
|
||||
POSTGRES_USER: pm
|
||||
POSTGRES_PASSWORD: pm
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
|
||||
pagemanager.api:
|
||||
image: pagemanager.api
|
||||
build:
|
||||
@@ -19,11 +8,14 @@ services:
|
||||
- "5278:8080"
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Production
|
||||
- ConnectionStrings__Postgres=Host=postgres;Database=pagemanager;Username=pm;Password=pm
|
||||
- ConnectionStrings__Postgres=${POSTGRES_CONNECTION_STRING}
|
||||
- Torrent__QBittorrentUrl=http://qbittorrent:8080
|
||||
- Torrent__SavePath=/data/books/incoming
|
||||
volumes:
|
||||
- books:/data/books
|
||||
- audiobooks:/data/audiobooks
|
||||
depends_on:
|
||||
- postgres
|
||||
- qbittorrent
|
||||
|
||||
pagemanager.web:
|
||||
image: pagemanager.web
|
||||
@@ -35,6 +27,35 @@ services:
|
||||
depends_on:
|
||||
- pagemanager.api
|
||||
|
||||
# Optional: self-hosted qBittorrent (comment out if using an external instance)
|
||||
qbittorrent:
|
||||
image: lscr.io/linuxserver/qbittorrent:latest
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- WEBUI_PORT=8080
|
||||
volumes:
|
||||
- qbt-config:/config
|
||||
- books:/data/books
|
||||
ports:
|
||||
- "6881:6881"
|
||||
- "6881:6881/udp"
|
||||
- "8090:8080" # WebUI on host port 8090 to avoid conflict with pagemanager.web
|
||||
|
||||
# Optional: Prowlarr indexer aggregator (comment out if not needed)
|
||||
# prowlarr:
|
||||
# image: lscr.io/linuxserver/prowlarr:latest
|
||||
# environment:
|
||||
# - PUID=1000
|
||||
# - PGID=1000
|
||||
# - TZ=Etc/UTC
|
||||
# volumes:
|
||||
# - prowlarr-config:/config
|
||||
# ports:
|
||||
# - "9696:9696"
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
books:
|
||||
audiobooks:
|
||||
qbt-config:
|
||||
|
||||
Reference in New Issue
Block a user