self-host/README.md

40 lines
1.8 KiB
Markdown
Raw Normal View History

2025-05-11 16:30:07 +00:00
# self-host
2025-04-20 15:31:23 +01:00
2025-04-23 18:49:17 +01:00
Configuration of self-hosted third-party software on my Hetzner Cloud VPS.
2025-04-20 15:31:23 +01:00
2025-05-11 17:29:07 +01:00
![](./diagrams/directory-structure.png)
2025-08-09 12:39:07 +01:00
## Third-party applications
2025-04-20 15:31:23 +01:00
2025-08-09 12:47:12 +01:00
### Services
2025-04-20 15:31:23 +01:00
2025-08-09 12:47:12 +01:00
| Server port | Docker port | Subdomain | Service | Description |
| ----------- | ----------- | ---------------------------- | -------- | -------------------------- |
| 8000 | 3000 | grafana.systemsobscure.net | Grafana | Server logs and monitoring |
| 8001 | 9090 | bookmarks.systemsobscure.net | Linkding | Article bookmarking tool |
| 8002 | 3000 | forgejo.systemsobscure.net | Forgejo | Git forge |
| 8004 | 3000 | wakapi.systemsobscure.net | Wakapi | Coding statistics tracker |
| 8005 | 8080 | miniflux.systemsobscure.net | Miniflux | RSS aggregator |
2025-04-20 15:31:23 +01:00
2025-08-09 12:39:07 +01:00
### Service data
Some applicaton data is stored in a network-attached Hetzner Storagebox drive
2025-04-20 15:31:23 +01:00
("Storagebox Alpha"). Docker volumes are mapped to this location.
This device is permanantly mounted using the [CIFS
protocol](https://www.lenovo.com/gb/en/glossary/what-is-common-internet-file-system-cifs/)
2025-04-23 18:49:17 +01:00
at `/mnt/storagebox_alpha`, as specified in `/etc/fstab`.
2025-04-20 15:31:23 +01:00
2025-08-09 12:39:07 +01:00
Other application data is stored on the small harddrive of the VPS:
2025-04-20 15:31:23 +01:00
2025-05-11 17:40:22 +01:00
| Service | Data | Location | Description |
| ------- | --------------- | --------------------- | ----------------------------------------------- |
| Forgejo | MySQL database | `/data/mysql/forgejo` | Database data only. Repositories stored in NAS. |
| Wakapi | SQLite database | `/data/sqlite/wakapi` | |
2025-04-20 15:31:23 +01:00
2025-08-09 12:39:07 +01:00
## My applications
2025-03-30 14:19:13 +01:00
2025-08-09 12:39:07 +01:00
### systemsobscure.blog
2025-03-30 14:19:13 +01:00
2025-08-09 12:39:07 +01:00
This is a static website served from `/var/www/` directory.