Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit ada73d0

Browse files
committed
Merge #2: Clean index content
8f294ec chore: [#1] clean index content (Jose Celano) Pull request description: - Remove contents realted to the Torrust Index. - Update docs, scripts, etc to remove things realted to the Index. ACKs for top commit: josecelano: ACK 8f294ec Tree-SHA512: 825b7609f1f4288c2e946d0c99a24439cacc94d51e8edea8591a2a4c23c8d27f7e27ac8502a2a455abd5afec575765751cb3cbecef83c5b4b6e5bc6cdf29f003
2 parents 2a9139c + 8f294ec commit ada73d0

File tree

18 files changed

+20
-340
lines changed

18 files changed

+20
-340
lines changed

.env.production

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
11
USER_ID=1000
22

3-
# Index GUI
4-
TORRUST_INDEX_GUI_API_BASE_URL='https://index.torrust-demo.com/api/v1'
5-
NITRO_HOST=0.0.0.0
6-
NITRO_PORT=3000
7-
8-
# Index
9-
TORRUST_INDEX_CONFIG_TOML=
10-
TORRUST_INDEX_API_CORS_PERMISSIVE=false
11-
TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__USER_CLAIM_TOKEN_PEPPER='MyClaimTokenPepper'
12-
TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN='MyAccessToken'
13-
143
# Tracker
154
TORRUST_TRACKER_CONFIG_TOML=
165
TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN='MyAccessToken'
176

187
# Grafana
198
GF_SECURITY_ADMIN_USER=admin
20-
GF_SECURITY_ADMIN_PASSWORD=admin
9+
GF_SECURITY_ADMIN_PASSWORD=admin

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Torrust Demo
1+
# Torrust Tracker Demo
22

3-
This repo contains all the configuration needed to run the live Torrust demo.
4-
5-
Live demo: <https://index.torrust-demo.com/torrents>.
3+
This repo contains all the configuration needed to run the live Torrust Tracker demo.
64

75
It's also used to track issues in production.
86

7+
> IMPORTANT: We are in the process of [splitting the Torrust Demo repo into two repos](https://github.com/torrust/torrust-demo/issues/79). This will allow us to deploy both services independently and it would make easier for users who only want to setup the tracker to re-use this setup. The content of this repo may change drastically in the future.
8+
99
## Demo tracker
1010

1111
- HTTP Tracker: <https://tracker.torrust-demo.com/announce>

compose.yaml

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -41,57 +41,6 @@ services:
4141
- tracker
4242
- grafana
4343

44-
index-gui:
45-
image: torrust/index-gui:develop
46-
container_name: index-gui
47-
tty: true
48-
restart: unless-stopped
49-
environment:
50-
- USER_ID=${USER_ID}
51-
- NUXT_PUBLIC_API_BASE=${TORRUST_INDEX_GUI_API_BASE_URL:-http://localhost:3001/v1}
52-
- NITRO_HOST=${NITRO_HOST:-0.0.0.0}
53-
- NITRO_PORT=${NITRO_PORT:-3000}
54-
networks:
55-
- frontend_network
56-
ports:
57-
- 3000:3000
58-
volumes:
59-
- ./storage/index-gui/log:/var/log/torrust/index-gui:Z
60-
logging:
61-
options:
62-
max-size: "10m"
63-
max-file: "10"
64-
depends_on:
65-
- index
66-
- tracker
67-
68-
index:
69-
image: torrust/index:develop
70-
container_name: index
71-
tty: true
72-
restart: unless-stopped
73-
environment:
74-
- USER_ID=${USER_ID}
75-
- TORRUST_INDEX_DATABASE=${TORRUST_INDEX_DATABASE:-sqlite3}
76-
- TORRUST_INDEX_DATABASE_DRIVER=${TORRUST_INDEX_DATABASE_DRIVER:-sqlite3}
77-
- TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN=${TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN:-MyAccessToken}
78-
- TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__USER_CLAIM_TOKEN_PEPPER=${TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__USER_CLAIM_TOKEN_PEPPER:-MaxVerstappenWC2021}
79-
- TORRUST_INDEX_API_CORS_PERMISSIVE=${TORRUST_INDEX_API_CORS_PERMISSIVE:-true}
80-
networks:
81-
- backend_network
82-
ports:
83-
- 3001:3001
84-
volumes:
85-
- ./storage/index/lib:/var/lib/torrust/index:Z
86-
- ./storage/index/log:/var/log/torrust/index:Z
87-
- ./storage/index/etc:/etc/torrust/index:Z
88-
logging:
89-
options:
90-
max-size: "10m"
91-
max-file: "10"
92-
depends_on:
93-
- tracker
94-
9544
grafana:
9645
image: grafana/grafana:11.4.0
9746
container_name: grafana

docs/backups.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Backups
22

3-
## Backup Index Database
3+
## Backup Tracker Database
44

55
```bash
6-
cd /home/torrust/github/torrust/torrust-demo/
7-
./share/bin/index-db-backup.sh
6+
cd /home/torrust/github/torrust/torrust-tracker-demo/
7+
./share/bin/tracker-db-backup.sh
88
```
99

1010
## Check Backups Crontab Configuration
@@ -26,7 +26,7 @@ total 26618268
2626
-rwxr-x--- 1 root root 2342912 May 12 04:00 backup_2025-05-12_04-00-01.db
2727
```
2828

29-
YOu can also check the script output with:
29+
You can also check the script output with:
3030

3131
```bash
3232
tail /var/log/cron.log

docs/deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Deployment
22

33
1. SSH into the server.
4-
2. Execute the deployment script: `./bin/deploy-torrust-demo.com.sh`.
4+
2. Execute the deployment script: `./bin/deploy-torrust-tracker-demo.com.sh`.
55
3. Execute the smoke tests:
66

77
```console

docs/firewall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Firewall
22

3-
We are using a Digital Ocean Firewall.
3+
We are using a Hetzner Firewall.
44

55
![Firewall Rules](./do-firewall-configuration.png)
66

docs/qbittorrent/torrust.py

Lines changed: 0 additions & 86 deletions
This file was deleted.

docs/setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Follow instructions on [Deploying Torrust To Production](https://torrust.com/blo
44

55
You need to also enable a [firewall](./docs/firewall.md).
66

7-
The application is located in the directory: `/home/torrust/github/torrust/torrust-demo`.
7+
The application is located in the directory: `/home/torrust/github/torrust/torrust-tracker-demo`.
88

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

1111
```console
12-
cd /home/torrust/github/torrust/torrust-demo
12+
cd /home/torrust/github/torrust/torrust-tracker-demo
1313
```

project-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ nosniff
99
NUXT
1010
privkey
1111
publickey
12+
rwxr
1213
SAMEORIGIN
1314
secp
1415
webroot

share/bin/deploy-torrust-demo.com.sh renamed to share/bin/deploy-torrust-tracker-demo.com.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Update the demo by updating the containers
44

5-
cd /home/torrust/github/torrust/torrust-demo || exit
5+
cd /home/torrust/github/torrust/torrust-tracker-demo || exit
66
docker compose pull
77
docker compose down
88
docker compose up --build --detach

0 commit comments

Comments
 (0)