docs: add DH-Waypoint, Bitmagnet, and *Arr ecosystem integration guide and examples
9af29a6 verified Download examples/bitmagnet/docker-compose.yml from NorviTech/armiger: direct link, hf CLI and curl.
- Browser
- Download file 2.52 kB
-
https://huggingface.co/NorviTech/armiger/resolve/main/examples/bitmagnet/docker-compose.yml
- Command line
-
hf download hf://NorviTech/armiger/examples/bitmagnet/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/NorviTech/armiger/resolve/main/examples/bitmagnet/docker-compose.yml
2.52 kB
| services: | |
| bitmagnet: | |
| image: ghcr.io/bitmagnet-io/bitmagnet:latest | |
| container_name: bitmagnet | |
| restart: unless-stopped | |
| depends_on: | |
| postgres: | |
| condition: service_healthy | |
| ports: | |
| - "3333:3333" | |
| - "3334:3334/tcp" | |
| - "3334:3334/udp" | |
| environment: | |
| POSTGRES_HOST: postgres | |
| POSTGRES_NAME: bitmagnet | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}" | |
| command: | |
| - worker | |
| - run | |
| - --keys=http_server | |
| - --keys=queue_server | |
| - --keys=dht_crawler | |
| armiger-bitmagnet-bridge: | |
| image: python:3.12-slim | |
| container_name: armiger-bitmagnet-bridge | |
| restart: unless-stopped | |
| working_dir: /app | |
| depends_on: | |
| - bitmagnet | |
| ports: | |
| - "8096:8096" | |
| environment: | |
| ARMIGER_MODEL_DIR: /app | |
| ARMIGER_VARIANT: "${ARMIGER_VARIANT:-fp32}" | |
| ARMIGER_BRIDGE_HOST: "localhost" | |
| ARMIGER_BRIDGE_PORT: "8096" | |
| BITMAGNET_GRAPHQL_URL: "http://bitmagnet:3333/graphql" | |
| ARMIGER_PRUNE_MALWARE: "true" | |
| ARMIGER_PRUNE_DEAD_SWARMS: "false" | |
| volumes: | |
| - ../..:/app:ro | |
| command: | |
| - sh | |
| - -c | |
| - "pip install --no-cache-dir numpy onnxruntime cryptography && python3 examples/bitmagnet/bitmagnet_armiger_bridge.py" | |
| armiger-torznab-proxy: | |
| image: python:3.12-slim | |
| container_name: armiger-torznab-proxy | |
| restart: unless-stopped | |
| working_dir: /app | |
| depends_on: | |
| - bitmagnet | |
| ports: | |
| - "8097:8097" | |
| environment: | |
| ARMIGER_MODEL_DIR: /app | |
| ARMIGER_VARIANT: "${ARMIGER_VARIANT:-int8}" | |
| UPSTREAM_TORZNAB_URL: "http://bitmagnet:3333/torznab" | |
| ARMIGER_PROXY_PORT: "8097" | |
| ARMIGER_REQUIRE_ENGLISH_AUDIO: "false" | |
| ARMIGER_ALLOW_ENGLISH_SUBS: "true" | |
| ARMIGER_REJECT_DEAD_SWARMS: "true" | |
| volumes: | |
| - ../..:/app:ro | |
| command: | |
| - sh | |
| - -c | |
| - "pip install --no-cache-dir numpy onnxruntime cryptography && python3 examples/arr-stack/armiger_torznab_proxy.py" | |
| postgres: | |
| image: postgres:16-alpine | |
| container_name: bitmagnet-postgres | |
| restart: unless-stopped | |
| environment: | |
| POSTGRES_DB: bitmagnet | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}" | |
| volumes: | |
| - bitmagnet_pgdata:/var/lib/postgresql/data | |
| healthcheck: | |
| test: ["CMD-SHELL", "pg_isready -d bitmagnet -U postgres"] | |
| interval: 10s | |
| timeout: 5s | |
| retries: 5 | |
| volumes: | |
| bitmagnet_pgdata: | |