Quick Start
Get MoLOS up and running in just a few minutes thanks to Docker (or Podman, we offer equal opportunities for everyone).
Choose your preferred method below. Both options expose MoLOS on http://localhost:4173 once running.
- Docker Compose
- Docker
For a complete setup with persistent data storage:
Again, generate a secure secret for authentication:
BETTER_AUTH_SECRET=$(openssl rand -base64 32)
echo $BETTER_AUTH_SECRET
Create a docker-compose.yml file with the following content:
services:
molos:
image: ghcr.io/molos-app/molos:latest
ports:
- '4173:4173'
volumes:
- ./molos_data:/data
environment:
- DATABASE_URL=file:/data/molos.db
- BETTER_AUTH_SECRET=YOUR_SECRET_HERE_DONT_FORGET_THAT
Then run:
docker-compose up -d
Replace YOUR_SECRET_HERE_DONT_FORGET_THAT with the output of openssl rand -base64 32
For a quick, stateless run (data won't persist between restarts):
First, generate a secure secret for authentication:
BETTER_AUTH_SECRET=$(openssl rand -base64 32)
echo $BETTER_AUTH_SECRET
Then run MoLOS:
docker run -p 4173:4173 -e BETTER_AUTH_SECRET=$BETTER_AUTH_SECRET ghcr.io/molos-app/molos:latest
This basic setup is perfect for testing MoLOS. For persistent data, use Docker Compose (tab on the right ->).
Once MoLOS is running, open your browser and navigate to http://localhost:4173 to start feeling it.
For advanced deployment options, including production hardening and monitoring, see the Self-Hosting guide.