PDS Modifications for https://altq.net
Please read the official PDS installation README first.
- automate PDS configuration deployment
- allow serving a custom web page on PDS root
- generate a status page for PDS including account usage (see https://altq.net/status.html, hopefully boring enough)
- age restriction workaround, see here
- 2FA using gatekeeper
- CAR estimate
- installed PDS server (see README)
ansible2.19+ installed locally (e.g.brew install ansible)- SSH access to your PDS server as root
-
Configure inventory: Copy
ansible/inventory.sample.initoansible/inventory.iniand set your server's hostname, SSH port, and any optional variables. -
Configure variables: Edit
ansible/group_vars/all.ymlto set yourpds_hostnameand adjust any path defaults if needed. -
Deploy:
make dry-run # Preview changes without applying make deploy # Full deployment
| Command | Description |
|---|---|
make deploy |
Deploy all changes to the server |
make dry-run |
Preview what would change (doesn't modify server) |
make caddy |
Update only Caddy configuration |
make status-script |
Update only the status script |
make restart |
Restart the PDS service |
make generate |
Manually trigger status page generation |
make version |
Check PDS health |
make status |
Check PDS service status |
-
The
generate-status.pyscript requires Python'spsutillibrary:apt install python3-psutil
-
Caddy webroot configuration is already included in
compose.yaml
MIT, see LICENSE.