28 lines
844 B
YAML
28 lines
844 B
YAML
services:
|
|
ipodderx:
|
|
image: 192.168.1.130:5000/ipodderx:latest
|
|
container_name: iPodderX
|
|
restart: unless-stopped
|
|
environment:
|
|
PUID: "99"
|
|
PGID: "100"
|
|
TZ: "America/Toronto"
|
|
IPX_LOG: "ipx=info"
|
|
# IPX_DATABASE_URL=postgres://... to use Postgres; without it, /data/state.db (SQLite).
|
|
env_file:
|
|
- /mnt/fast/appdata/ipodderx/database.env
|
|
ports:
|
|
- "8099:8099" # web UI
|
|
- "6881:6881/tcp" # BitTorrent peers
|
|
- "6881:6881/udp" # DHT
|
|
volumes:
|
|
- /mnt/fast/appdata/ipodderx:/config # config.toml, and the web token
|
|
- /mnt/user/ipodderx/:/data # state.db
|
|
- /mnt/user/ipodderx/downloads:/downloads
|
|
healthcheck:
|
|
test: ["CMD", "ipx", "status"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|