Installation
Install LogNorth on your server
Installation
Section titled “Installation”LogNorth runs as a single Docker container with SQLite storage.
Managed Install (Recommended)
Section titled “Managed Install (Recommended)”One command. Automatic updates. SSL included.
curl -fsSL lognorth.com/install | sudo bashThe installer:
- Prompts for your domain
- Sets up Caddy with automatic SSL
- Starts LogNorth with Docker
- Enables automatic updates
Using an AI coding assistant? The AI-assisted installation skill can provision a server, harden it, and install LogNorth for you.
Manual Install
Section titled “Manual Install”Run LogNorth yourself with Docker.
Docker
Section titled “Docker”docker run -d \ --name lognorth \ -p 8080:8080 \ -v lognorth_data:/data \ ghcr.io/lognorth/lognorth:latestLogNorth is now running at http://localhost:8080
Docker Compose
Section titled “Docker Compose”version: '3.8'services: lognorth: image: ghcr.io/lognorth/lognorth:latest ports: - "8080:8080" volumes: - lognorth_data:/data restart: unless-stopped
volumes: lognorth_data:Environment Variables
Section titled “Environment Variables”| Variable | Description | Default |
|---|---|---|
LOGNORTH_PORT | HTTP port | 8080 |
LOGNORTH_STORAGE_PATH | Data directory | /data |
Reverse Proxy
Section titled “Reverse Proxy”Put LogNorth behind nginx or Caddy for HTTPS:
server { server_name logs.yoursite.com;
location / { proxy_pass http://localhost:8080; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; }}Security
Section titled “Security”LogNorth does not harden your server. Server security is your responsibility.
Before exposing LogNorth to the internet:
- Use a non-root user with sudo privileges
- Enable SSH key authentication (disable password login)
- Configure a firewall (only open ports 80/443)
- Enable automatic OS security updates
See DigitalOcean’s Ubuntu Server Setup Guide for a solid baseline.