Lunogram

Quick Start

Get up and running with Lunogram using Docker Compose

Want to skip the setup?

Get started in minutes with Lunogram Cloud. No infrastructure to maintain.

Try Lunogram Cloud

This guide gets you from zero to a running self-hosted Lunogram instance in under 5 minutes.

Prerequisites: Make sure you have Docker installed and running on your machine.

Install & Run

git clone https://github.com/lunogram/platform.git
cd platform
docker compose up -d

That's it. Lunogram is now running at http://localhost:8080.

Log In

Use the default credentials to access the dashboard:

FieldValue
Emailadmin@localhost
Passwordadmin

Change these credentials before deploying to production.

What's Running

Docker Compose starts everything you need:

ServicePurposePort
LunogramMain application8080
PostgreSQLDatabase5432
RedisCaching6379
NATSEvent streaming4222

Your First Campaign

Once logged in, you'll go through a quick onboarding to create your first project. Then:

Integrate Your App

Start tracking users and events:

npm install @lunogram/js-sdk
import { Lunogram } from "@lunogram/js-sdk";

const lunogram = new Lunogram(
  "pk_your_public_key", // Get this from Project Settings > API Keys
  "http://localhost:8080/api",
);

await lunogram.user.upsert({
  identifier: [{ externalId: "user_123" }],
  email: "user@example.com",
});
await lunogram.user.events.post([{ name: "user.signed_up" }]);

On this page