{"repo":"d1ceward-on-dokku/plausible_on_dokku","free":true,"listed":false,"github":"https://github.com/d1ceward-on-dokku/plausible_on_dokku","clone":"git clone https://github.com/d1ceward-on-dokku/plausible_on_dokku.git","description":"Dockerfile to run Plausible (analytics) on Dokku (mini-Heroku)","language":"Shell","stars":48,"topics":["docker","dokku","web","google-alternative","analytics"],"license":"Unlicense","category":"analytics","readme_excerpt":"Run Plausible on Dokku Overview This guide explains how to deploy Plausible, a lightweight and open-source website analytics tool, on a Dokku host. Dokku is a lightweight PaaS that simplifies deploying and managing applications using Docker. Prerequisites Before proceeding, ensure you have the following: - A working Dokku host. - The PostgreSQL plugin for database support. - The Clickhouse plugin for analytics storage. - (Optional) The Let's Encrypt plugin for SSL certificates. Setup Instructions 1. Create the App Log into your Dokku host and create the plausible app: 2. Configure the Databases Install, create, and link the PostgreSQL and Clickhouse plugins to the app: 3. Configure Environment Variables Set up the required environment variables for Plausible: 4. Configure Persistent Storage To persist data between restarts, create a folder on the host machine and mount it to the app container: 5. Configure the Domain and Ports Set the domain for your app to enable routing: Map the internal port 8000 to the external port 80 : 6. Deploy the App You can deploy the app to your Dokku server using one of the following methods: Option 1: Deploy Using dokku git:sync If your repository is hosted on a remote Git server with an HTTPS URL, you can deploy the app directly to your Dokku server using dokku git:sync . This method also triggers a build process automatically. Run the following command: Option 2: Clone the Repository and Push Manually If you prefer to work with the repository l","default_branch":null,"files":null,"tree":[],"storefront":"/r/d1ceward-on-dokku","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/d1ceward-on-dokku/plausible_on_dokku/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}