bitmagnet-io / bitmagnet

A self-hosted BitTorrent indexer, DHT crawler, content classifier and torrent search engine with web UI, GraphQL API and Servarr stack integration.
https://bitmagnet.io/
MIT License
1.96k stars 74 forks source link

How to install bitmagnet with docker? #204

Closed VanTuz5 closed 2 months ago

VanTuz5 commented 2 months ago

I'm sorry for the stupid question. I want to install the program using docker, but I have no idea how to do it. The website says - here's the code for you, run it through docker. Where and how should it be placed? I have the docker installed.

mgdigital commented 2 months ago

Hi, your best bet is Google as we can't teach Docker from scratch. Here's a good start: https://medium.com/dev-sec-ops/docker-101-docker-compose-db96ae884cda

VanTuz5 commented 2 months ago

I'm not asking you to teach me from scratch, I'm asking you to explain how to install your program.

NiklasBr commented 2 months ago
  1. Install Docker (you have done this already)
  2. Follow this page in the documentation, it says:

    The quickest way to get up-and-running with bitmagnet is with Docker Compose. The following docker-compose.yml is a minimal example. For a more full-featured example including VPN routing and observability services see the docker compose configuration in the GitHub repository.

    Which means you copy (and adjust as needed) the content on that page into your docker-compose file and then start it from where you put that file.

  3. Run docker compose up -d
  4. Have a toast.
VanTuz5 commented 2 months ago

I tried install "full version" with vpn and other stuff. "Error response from daemon: driver failed programming external connectivity on endpoint bitmagnet-loki (7b03e5ccb832767a5b3e484b429da49c2c64c35eebc560e4c9241f4c287035b1): Bind for 0.0.0.0:3100 failed: port is already allocated" I restarted installation "Error response from daemon: driver failed programming external connectivity on endpoint bitmagnet-prometheus (cfea07bb93766a18c33fa93d5894f4cad88ca4a15905c35e8af3f5403231ea84): Bind for 0.0.0.0:9090 failed: port is already allocated"

UPD. Minimal version installed without problem, but I want to figure out why the full version doesn't want to be installed.

NiklasBr commented 2 months ago

Bind for 0.0.0.0:3100 failed: port is already allocated

This likely means that you in a previous attempt started some service but never stopped it, only one service per port, so you need to stop those services first.

VanTuz5 commented 2 months ago

I checked - this port is not occupied by anything

NiklasBr commented 2 months ago

Then report it as a bug to Docker.