Self Hosting
Self-host with Docker
Discover how to self-host Litlyx with Docker in seconds.
1. Fork the project
From github fork the project on your local machine.
2. Run A Docker Container
Run the following command in the terminal
.
This command automatically pulls all the necessary images for Litlyx.
docker
3.a Forward data to your local instance with script tag
Add data-host
, add data-port
, add data-secure
and set up at true if is https, false if is http.
The Producer service collects data and adds it to a queue for storage. By default, it uses port 3099, but you can choose a different port if needed.
3.b Forward data to your local instance using npm
Add data-host
, add data-port
, add data-secure
and set up at true if is https, false if is http.
The Producer service collects data and adds it to a queue for storage. By default, it uses port 3099, but you can choose a different port if needed.
4. Now is your turn.
Now you are up to go. You can use your own instance of Litlyx. Track analytics, easy way.