Self Hosting
Self-host with Docker
Discover how to self-host Litlyx with Docker in seconds.
1. Clone the project
From github clone or fork the project on your local machine.
2. Change user Credentials
Go to docker-compose.yaml
file and change this two fields to create your admin user
3. Run A Docker Container
Run the following command in the terminal
.
This command automatically pulls all the necessary images for Litlyx.
docker
4.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.
4.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.
5. Now is your turn.
Now you are up to go. You can use your own instance of Litlyx. Track analytics, easy way.