{"repo":"Swetrix/selfhosting","free":true,"listed":false,"github":"https://github.com/Swetrix/selfhosting","clone":"git clone https://github.com/Swetrix/selfhosting.git","description":"Docker Compose setup to self-host Swetrix CE - a privacy-focused, cookieless web analytics platform","language":"Shell","stars":72,"topics":[],"license":null,"category":"self-hosted-apps","readme_excerpt":"What is Swetrix? Swetrix is a fully open source, privacy focused and cookieless alternative to Google Analytics. Swetrix aims to be a lightweight tool (tracking script is [!NOTE] The guide below explains how to get started quickly with the self-hosted version of Swetrix. What you're probably looking for is a more in-depth and step-by-step guide, which can be found on our self-hosted documentation page. So, to self-host Swetrix, you need to: 1. Clone this repository: 2. Install Docker if you haven't already. 3. Configure the environment variables for your Swetrix instance. It can be easily done by running ./configure.sh script, which will ask you to provide the necessary values (including BASE URL ) and generate a .env file with them. See the configuration variable reference. 4. Run docker compose up -d to start the Swetrix services. 5. After that, you will be able to access Swetrix web portal at the URL you set in BASE URL (by default, http://localhost ). And that's it! :) If you have any questions, feel free to join our Discord community. You can also star our main repository as a token of appreciation.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Swetrix","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Swetrix/selfhosting/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."}