LearnHouse
Get Started
LearnHouse
AIEnterpriseDevelopersMobilePricing
GitHub...
LoginGet Started

The next gen modern open source learning platform

XGitHubLinkedInDiscord

Product

  • Creators
  • Academia
  • Enterprise
  • Developers
  • Mobile app
  • Open source
  • Design
  • Discoverability
  • Pricing

Features

  • Courses
  • AI
  • Payments
  • Communities
  • Podcasts
  • Boards
  • Plays
  • Code
  • Analytics
  • Video courses
  • Newsletter
  • Live sessions
  • Learning paths
  • Drip content
  • Assignments
  • Certificates
  • Scenarios
  • Required training
  • Course translation
  • Integrations

Resources

  • Documentation
  • University
  • Blog
  • Changelog
  • Self-hosting
  • Glossary
  • GitHub
  • Compare platforms

Company

  • Contact
  • Security
  • Industries

Company

  • Contact
  • Security
  • Industries

Compare LearnHouse with

  • Udemy
  • Moodle
  • Teachable
  • Open edX
  • Thinkific
  • Canvas
  • Kajabi
  • Skool
  • Podia
  • Coursera
  • All comparisons

Alternatives to

  • Udemy
  • Teachable
  • Thinkific
  • Kajabi
  • Skool
  • Podia
  • Coursera
  • Moodle
  • Open edX
  • Canvas LMS
  • Skillshare
  • Mighty Networks
  • LearnWorlds
  • Circle
Found a bug or issue?
Open Source Initiative

Open Source

AGPLv3 licensed, self-hostable

GDPR Ready

EU data protection compliant

G2

G2

Review us on G2

© 2026 LearnHouse, Inc.

  • Privacy
  • Terms
  • Cookie Policy
  1. LearnHouse
  2. /
  3. Self-hosting
  4. /
  5. Docker

LearnHouse on one server, with Docker

The quickest way to self-host LearnHouse is a single server with Docker. Run npx learnhouse@latest setup, answer a few questions, then run npx learnhouse start. The CLI writes and manages the Docker Compose files, so you never have to edit them yourself.

$ npx learnhouse@latest setup

What the wizard asks

  • ?Your domain, or localhost to try it out
  • ?PostgreSQL and Redis: local containers, or an external connection string
  • ?The first admin's email and password
  • ?Optional extras: AI features and email delivery

$ npx learnhouse start

$ npx learnhouse doctor

The whole install

$npx learnhouse@latest setup
$npx learnhouse start

Most questions have a default you can accept with Enter. The first start pulls the images and takes a minute or two.

What it writes

learnhouse/

  • docker-compose.yml

    Every service and its volumes.

  • .env

    Settings and generated secrets.

  • learnhouse.config.json

    Your install settings.

  • nginx / Caddy

    An nginx or Caddy config for the reverse proxy.

Server size

MinimumRecommended
Memory2 GB4 GB
CPU12+
Disk10 GB20 GB+

Linux is recommended for production: Ubuntu 20.04+, Debian 11+, CentOS 8+ or any distribution with Docker. macOS works with Docker Desktop, Windows through WSL2.

Ports 80 and 443 open, and internet access during install to pull the images.

Running it day to day

npx learnhouse start
Start every service.
npx learnhouse stop
Stop every service.
npx learnhouse logs
Stream the container logs.
npx learnhouse config
Show the current configuration.
npx learnhouse backup
Back up or restore the database.
npx learnhouse doctor
Check Docker, containers, ports, DNS and disk space.
npx learnhouse update
Pull the latest release.

learnhouse backup writes a pg_dump of the database and a copy of your .env into a timestamped archive. Uploaded files are not part of it, so back up the content volume as well, or keep uploads in S3-compatible storage.

When one server is enough

A single server suits most schools, training teams and course businesses. Move to Kubernetes when you need several copies of the web app and API, or when your company runs everything on clusters already.

Questions

Can the database run on a managed service?+

Yes. Pass --external-db with a PostgreSQL connection string and --external-redis for Redis, or pick External in the wizard.

Where do uploads go?+

A Docker volume by default. You can switch to any S3-compatible service, such as AWS S3, Cloudflare R2 or MinIO, with three settings in the .env file.

How do I add HTTPS?+

Set your domain and LEARNHOUSE_SSL=true in the .env file, then put a reverse proxy in front. Caddy fetches and renews Let's Encrypt certificates on its own.

Self-hosting guides

Where to run it

  • Docker
  • Kubernetes
  • AWS
  • Google Cloud
  • Azure
  • On-premises

Rules and data

  • Data residency
  • GDPR
  • Healthcare, education, government
Self-hosting docs What Enterprise adds

Would you rather not run servers? LearnHouse Cloud runs the same platform for you, with updates, backups and TLS handled.

See Cloud plans