Skip to content

Swetrix/selfhosting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



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 < 5 KB), yet powerful enough to give you all the insights you need. With Swetrix you can track your site's traffic, monitor your site's speed, analyse user sessions and pageflows, see the user flows and much more! All of it without invading your user's privacy. Check out our live demo.

How to selfhost?

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:
git clone https://github.com/swetrix/selfhosting
cd selfhosting
  1. Install Docker if you haven't already.
  2. 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 and generate a .env file with them. A table explaining what each value means can be found here.
  3. Run docker compose up -d to start the Swetrix services.
  4. After that, you will be able to access Swetrix web portal on the port you specified in swetrix category in compose.yaml (by default, it's set to 80).

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages