diff --git a/bitmagnet/data/config/.gitkeep b/bitmagnet/data/config/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/bitmagnet/data/postgres/.gitkeep b/bitmagnet/data/postgres/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/bitmagnet/docker-compose.yml b/bitmagnet/docker-compose.yml new file mode 100644 index 000000000..b8dd5e691 --- /dev/null +++ b/bitmagnet/docker-compose.yml @@ -0,0 +1,53 @@ +version: "3.7" + +services: + app_proxy: + environment: + APP_HOST: bitmagnet_bitmagnet_1 + APP_PORT: 3333 + + bitmagnet: + image: ghcr.io/bitmagnet-io/bitmagnet:v0.10.0@sha256:cf2c16fac5b51f1c18e630b4710175d35d7e44b83012cfd05a2b43712feec05e + restart: on-failure + stop_grace_period: 1m + ports: + - "3336:3334/tcp" + - "3336:3334/udp" + user: "1000:1000" + environment: + HOME: /tmp + XDG_CONFIG_HOME: /config + POSTGRES_HOST: bitmagnet_postgres_1 + POSTGRES_USER: postgres + POSTGRES_PASSWORD: ${APP_PASSWORD} + POSTGRES_NAME: bitmagnet + volumes: + - ${APP_DATA_DIR}/data/config:/config/bitmagnet + command: + - worker + - run + - --keys=http_server + - --keys=queue_server + - --keys=dht_crawler + depends_on: + postgres: + condition: service_healthy + + postgres: + image: postgres:16-alpine@sha256:23e88eb049fd5d54894d70100df61d38a49ed97909263f79d4ff4c30a5d5fca2 + restart: on-failure + user: "1000:1000" + environment: + POSTGRES_PASSWORD: ${APP_PASSWORD} + POSTGRES_DB: bitmagnet + POSTGRES_USER: postgres + PGUSER: postgres + shm_size: 1g + volumes: + - ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data + healthcheck: + test: + - CMD-SHELL + - pg_isready + start_period: 20s + interval: 10s diff --git a/bitmagnet/umbrel-app.yml b/bitmagnet/umbrel-app.yml new file mode 100644 index 000000000..cbbd95d87 --- /dev/null +++ b/bitmagnet/umbrel-app.yml @@ -0,0 +1,47 @@ +manifestVersion: 1 +id: bitmagnet +category: media +name: Bitmagnet +version: "v0.10.0" +tagline: Self-hosted BitTorrent indexer and DHT crawler +description: >- + bitmagnet is a self-hosted BitTorrent indexer with a web UI, GraphQL API, and Servarr integration. + + + It crawls the BitTorrent DHT and indexes torrent metadata so you can search your own private index. + + + 🧩 TORZNAB / SERVARR INTEGRATION + + + bitmagnet exposes a Torznab-compatible API at `/torznab` that you can add to Prowlarr and other Torznab-compatible apps on Umbrel. + + + In Prowlarr: Add Indexer → Generic Torznab + + + Torznab URL example: + - http://umbrel.local:3335/torznab + + + If you are configuring from another container on the same Docker network, you can typically use: + - http://bitmagnet_bitmagnet_1:3333/torznab + + + ⚠️ bitmagnet currently has no authentication/access control; do not expose it publicly. +developer: bitmagnet +website: https://bitmagnet.io/ +dependencies: [] +repo: https://github.com/bitmagnet-io/bitmagnet +support: https://github.com/bitmagnet-io/bitmagnet/discussions +port: 3335 +gallery: + - 1.jpg + - 2.jpg + - 3.jpg +path: "" +defaultUsername: "" +defaultPassword: "" +torOnly: false +submitter: "besoeasy" +submission: "https://github.com/getumbrel/umbrel-apps/pull/4408"