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.
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.
On the server, you need to open port 3000
for the dashboard instance and port 3099
(default) for forwarding visits and events.
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.
On the server, you need to open port 3000
for the dashboard instance and port 3099
(default) for forwarding visits and events.
5. Now is your turn.
Now you are up to go. You can use your own instance of Litlyx. Track analytics, easy way.