Automated PostHog Ubuntu 24 Installer

Job ID: 40521359

Budget: ₹600 – ₹3,000 INR

I need a single-run installation script that prepares an Ubuntu 24 LTS server for PostHog OSS and leaves it production-ready on my own domain (DNS will already point to the machine). The script must:

• Install every prerequisite (Docker or Podman, PostgreSQL, Redis, Nginx or Caddy as reverse proxy, any required system packages).
• Request and attach a Let’s Encrypt certificate, set up automatic renewal, and serve PostHog securely over HTTPS.
• Place PostHog behind the chosen domain, making no DNS changes on its own.
• Be idempotent—re-running it should not break an existing installation.

Before hand-off, record a short screen-capture video that shows the script running from a fresh server, ending with PostHog reachable at https://<my-domain>, certificate valid, and the PostHog onboarding page loading without errors; payment follows that demo.

Provide the script (Bash, Ansible, or another widely available tool), any environment-variable sample files, and brief usage notes.