Skip to content

Commit 3db8801

Browse files
committed
✨ hub: Add litlyx
1 parent f4446eb commit 3db8801

3 files changed

Lines changed: 153 additions & 0 deletions

File tree

hub/litlyx/.env

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
PROJECT=litlyx
2+
DOMAIN=stack.localhost
3+
4+
MONGO_USERNAME=litlyx
5+
MONGO_PASSWORD=password
6+
7+
REDIS_USERNAME=default
8+
REDIS_PASSWORD=password
9+
10+
AUTH_MODE=NO_AUTH
11+
JWT_SECRET=litlyx_jwt_secret
12+
STRIPE_SECRET_TEST=""
13+
STRIPEWH_SECRET_TEST=""
14+
STRIPE_SECRET=""
15+
STRIPE_WH_SECRET=""
16+
USER_EMAIL=default@user.com
17+
USER_PASS=password

hub/litlyx/compose.yaml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
# SPDX-License-Identifier: MIT
2+
# This is a https://stack.lol docker compose file.
3+
4+
services:
5+
mongo:
6+
image: mongo
7+
environment:
8+
MONGO_INITDB_ROOT_USERNAME: $MONGO_USERNAME
9+
MONGO_INITDB_ROOT_PASSWORD: $MONGO_PASSWORD
10+
volumes:
11+
- mongo-data:/data/db
12+
13+
cache:
14+
image: redis:alpine
15+
restart: always
16+
command: redis-server --save 20 1 --loglevel warning --requirepass $REDIS_PASSWORD
17+
18+
producer:
19+
image: litlyx/litlyx-producer
20+
restart: always
21+
depends_on:
22+
- mongo
23+
- cache
24+
environment:
25+
PORT: "3099"
26+
REDIS_URL: "redis://cache"
27+
REDIS_USERNAME: $REDIS_USERNAME
28+
REDIS_PASSWORD: $REDIS_PASSWORD
29+
STREAM_NAME: "LITLYX"
30+
31+
consumer:
32+
image: litlyx/litlyx-consumer
33+
restart: always
34+
depends_on:
35+
- mongo
36+
- cache
37+
environment:
38+
PORT: "3031"
39+
# Optional - Used to send welcome and quota emails
40+
# EMAIL_SERVICE: "Brevo"
41+
# BREVO_API_KEY: ""
42+
MONGO_CONNECTION_STRING: "mongodb://$MONGO_USERNAME:$MONGO_PASSWORD@mongo:27017/SimpleMetrics?readPreference=primaryPreferred&authSource=admin"
43+
REDIS_URL: "redis://cache"
44+
REDIS_USERNAME: $REDIS_USERNAME
45+
REDIS_PASSWORD: $REDIS_PASSWORD
46+
STREAM_NAME: "LITLYX"
47+
GROUP_NAME: "DATABASE"
48+
49+
dashboard:
50+
image: litlyx/litlyx-dashboard
51+
restart: always
52+
depends_on:
53+
- mongo
54+
- cache
55+
environment:
56+
NUXT_PORT: "3000"
57+
NUXT_MONGO_CONNECTION_STRING: "mongodb://$MONGO_USERNAME:$MONGO_PASSWORD@mongo:27017/SimpleMetrics?readPreference=primaryPreferred&authSource=admin"
58+
NUXT_REDIS_URL: "redis://cache"
59+
NUXT_REDIS_USERNAME: $REDIS_USERNAME
60+
NUXT_REDIS_PASSWORD: $REDIS_PASSWORD
61+
62+
# Optional - Used for Lit, the AI analyst
63+
# NUXT_AI_ORG: 'OPEN_AI_ORGANIZATION'
64+
# NUXT_AI_PROJECT: 'OPEN_AI_PROJECT'
65+
# NUXT_AI_KEY: 'OPEN_AI_KEY'
66+
67+
# Optional - Used to send welcome and quota emails
68+
# NUXT_EMAIL_SERVICE: "Brevo"
69+
# NUXT_BREVO_API_KEY: ""
70+
71+
NUXT_AUTH_JWT_SECRET: $JWT_SECRET
72+
73+
# Optional - Used to register / login via google
74+
# NUXT_GOOGLE_AUTH_CLIENT_ID: ""
75+
# NUXT_GOOGLE_AUTH_CLIENT_SECRET: ""
76+
77+
NUXT_PUBLIC_AUTH_MODE: "NO_AUTH"
78+
79+
NUXT_NOAUTH_USER_EMAIL: $USER_EMAIL
80+
NUXT_NOAUTH_USER_PASS: $USER_PASS
81+
82+
NUXT_SELFHOSTED: "true"
83+
NUXT_PUBLIC_SELFHOSTED: "true"
84+
85+
NUXT_STRIPE_SECRET_TEST: $STRIPE_SECRET_TEST
86+
NUXT_STRIPE_WH_SECRET_TEST: $STRIPE_WH_SECRET_TEST
87+
88+
NUXT_STRIPE_SECRET: $STRIPE_SECRET
89+
NUXT_STRIPE_WH_SECRET: $STRIPE_WH_SECRET
90+
91+
labels:
92+
dash.url: https://$PROJECT.$DOMAIN
93+
traefik.http.routers.litlyx.rule: Host(`$PROJECT.$DOMAIN`)
94+
traefik.http.services.litlyx.loadbalancer.server.port: 3000
95+
96+
volumes:
97+
mongo-data:

hub/litlyx/stack.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# SPDX-License-Identifier: MIT
2+
# yaml-language-server: $schema=https://stack.lol/schemas/stack.config.schema.yaml
3+
# This is a https://stack.lol stack metadata file.
4+
slug: litlyx
5+
name: Litlyx
6+
icon:
7+
flavor: DockerCompose
8+
version: "latest"
9+
updated_at: 2025-03-11
10+
description: Powerful analytics solution
11+
author: Litlyx Srl
12+
license: Apache-2.0
13+
homepage: https://litlyx.com
14+
repository: https://github.com/Litlyx/litlyx
15+
stars: 1400
16+
tags: [analytics]
17+
alternativeTo: [google-analytics]
18+
readme: |
19+
20+
Litlyx is a modern, developer-friendly, cookie-free analytics tool.
21+
Setup takes less than 30 seconds! Completely self-hostable with docker.
22+
Alternative to Google Analytics, Matomo, Umami, Plausible & Simple Analytics.
23+
24+
![preview](https://github.com/Litlyx/litlyx/raw/main/assets/dashboard-clip.png)
25+
26+
<hr>
27+
28+
### Features
29+
30+
- 🚀 **Instant Setup**: Get started in just 30 seconds
31+
- 🌐 **Multiple Site Tracking**: Monitor all your websites from one dashboard
32+
- 🤖 **AI Data Assistant**: Get intelligent insights about your traffic
33+
- 🛡️ **GDPR-Compliant**: No cookies, no personal data, no consent banners
34+
- 🔒 **Privacy-First Approach**: Protect your visitors' privacy
35+
- 📊 **Custom Events**: Track any function, click or action by simply naming it
36+
- 🛒 **Product Funnels**: Create conversion funnels in seconds
37+
- 📈 **Customizable Reports**: Share important metrics with your team or clients
38+
- 💬 **Chat With Your Data**: Ask questions in plain language
39+
- 📱 **Intuitive Dashboard**: Data that just makes sense

0 commit comments

Comments
 (0)