Skip to content

Commit b0327d6

Browse files
committed
docs: update hetzner migration plan - mark phase 1 complete and add grafana config phase
- Mark all Phase 1 (Database Migration to MySQL) tasks as completed - Add new Phase 6 for Grafana Configuration with manual setup steps - Renumber subsequent phases (Testing becomes Phase 7, Go Live becomes Phase 8) - Include note about opening detailed issue for Grafana configuration work
1 parent 14f3e06 commit b0327d6

File tree

1 file changed

+29
-12
lines changed

1 file changed

+29
-12
lines changed

docs/plans/hetzner-migration-plan.md

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ before deploying to production.
2525

2626
#### Tasks
2727

28-
- [ ] Add MySQL service to `docker-compose.yaml`
29-
- [ ] Update tracker configuration (`tracker.toml`) to use MySQL connection
30-
- [ ] Create MySQL initialization scripts/schema
31-
- [ ] Update environment variable templates (`.env.production`)
32-
- [ ] Update documentation for MySQL setup
28+
- [x] Add MySQL service to `docker-compose.yaml`
29+
- [x] Update tracker configuration (`tracker.toml`) to use MySQL connection
30+
- [x] Create MySQL initialization scripts/schema
31+
- [x] Update environment variable templates (`.env.production`)
32+
- [x] Update documentation for MySQL setup
3333

3434
#### Validation
3535

36-
- [ ] Deploy locally using `make apply`
37-
- [ ] Verify MySQL service starts successfully
38-
- [ ] Make test announce request
39-
- [ ] Confirm download counter increases in MySQL `torrents` table
40-
- [ ] Test tracker restart with persistent MySQL data
36+
- [x] Deploy locally using `make apply`
37+
- [x] Verify MySQL service starts successfully
38+
- [x] Make test announce request
39+
- [x] Confirm download counter increases in MySQL `torrents` table
40+
- [x] Test tracker restart with persistent MySQL data
4141

4242
**Deliverable**: Working local deployment with MySQL backend
4343

@@ -146,7 +146,24 @@ before deploying to production.
146146

147147
---
148148

149-
### Phase 6: Testing and Validation
149+
### Phase 6: Grafana Configuration
150+
151+
**Objective**: Manually configure Grafana for monitoring the tracker.
152+
153+
#### Tasks
154+
155+
- [ ] Log in to Grafana at `http://localhost:3100/` with default credentials (admin/admin).
156+
- [ ] Change the default admin password.
157+
- [ ] Configure the Prometheus data source to poll the tracker's API metrics endpoint.
158+
- [ ] Optional: Import pre-built dashboards from the repository to visualize tracker metrics.
159+
160+
**Note**: An issue will be opened with more details when work on this phase begins.
161+
162+
**Deliverable**: A configured Grafana instance with a Prometheus data source and dashboards.
163+
164+
---
165+
166+
### Phase 7: Testing and Validation
150167

151168
**Objective**: Comprehensive testing of the new Hetzner deployment
152169

@@ -171,7 +188,7 @@ before deploying to production.
171188

172189
---
173190

174-
### Phase 7: Go Live
191+
### Phase 8: Go Live
175192

176193
**Objective**: Switch production traffic to Hetzner infrastructure
177194

0 commit comments

Comments
 (0)