Skip to content

torrust/torrust-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Torrust Demo

This repo will contain all the configuration needed to run the live Torrust demo.

Live demo: https://index.torrust-demo.com/torrents.

It's also used to track issues in production.

Setup

The application is located in the directory: /home/torrust/github/torrust/torrust-compose/droplet.

To run docker compose commands you need to cd to the app dir:

cd github/torrust/torrust-compose/droplet/

Sample commands:

  • docker ps: list containers.
  • docker compose logs -f: print all containers' logs.
  • docker compose logs -f tracker: print tracker container' logs.
  • docker compose logs -f tracker | head -n100: print the first 100 lines in the tracker container log.
  • docker compose logs -f | grep "ERROR": print logs showing only errors.

Deployment

  1. SSH into the server.
  2. Execute the deployment script: ./bin/deploy-torrust-demo.com.sh.
  3. Execute the smoke tests:
cargo run --bin udp_tracker_client announce 144.126.245.19:6969 9c38422213e30bff212b30c360d26f9a02136422

cargo run --bin http_tracker_client announce 144.126.245.19:6969 9c38422213e30bff212b30c360d26f9a02136422

TORRUST_CHECKER_CONFIG='{
    "udp_trackers": ["144.126.245.19:6969"],
    "http_trackers": ["https://tracker.torrust-demo.com"],
    "health_checks": ["https://tracker.torrust-demo.com/api/health_check"]
}' cargo run --bin tracker_checker

TODO

Releases

No releases published

Packages

No packages published

Languages