← Back to Journal

Self-Hosted Umami Analytics

Established a self-hosted analytics platform for BradCooke.com with Ansible-managed Umami and a narrow public HTTPS boundary.

Tags: Abbey Root • Infrastructure • Ansible • Umami • BradCooke.com

Self-Hosted Umami Analytics

Summary

Abbey Root now operates a self-hosted Umami analytics service for BradCooke.com. Umami and its PostgreSQL database are deployed through a dedicated Ansible role, with the database kept private and the application published through the existing reverse-proxy boundary.

The public analytics hostname uses HTTPS with a valid certificate, redirects HTTP traffic to HTTPS, and exposes only the normal web ports through the home router. Administrative, database, monitoring, and direct application ports remain private.

BradCooke.com has been registered in Umami, and its shared Astro layout now contains a single tracker restricted to the production domains. The production site build validates the tracker on all generated pages. The tracker is now published, its public script loads successfully, and a real cellular visit was recorded in Umami as one visitor.

Accomplishments

Lessons Learned

Next Steps