selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Canvas LMS logo

Self-host Canvas LMS

release/2026-05-20.143

Open-source LMS for schools and universities

ReleaseOpen CoreAGPL-3.0
Docker ComposeCompose file & guide
docker compose up -d
Updated3 weeks ago
LanguageRuby
Setup difficultyAdvanced
Stars
6 905
CPU
quad-core CPU (recommended for the automated Docker setup script)
RAM
8GB
Storage
150GB of available hard drive space (recommended for the automated Docker setup script)
Port
3000 (Port the quick-start Rails server listens on for the web UI)
Requires
PostgreSQL, Redis
Docker
instructure/canvas-lms

What is Canvas LMS?

Canvas LMS alternatives

Should you self-host Canvas LMS?

Canvas LMS scores 67/100 on selfhost.directory (how scoring works) and ranks #2 of 14 in Learning Management System. It has 6 905 GitHub stars, +43 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Ruby.

Its closest alternative on selfhost.directory is Moodle (71/100). It scores higher overall, so compare the two before you pick. See Canvas LMS vs Moodle side by side.

Features

  • Background job processing
  • Course import/export
  • Learning management system
  • QTI quiz conversion
  • Rich Text Editor

Canvas LMS README

Canvas LMS

Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.

How to install Canvas LMS

Install Canvas LMS with Docker Compose

Environment variables
DOCKER_BUILDKIT, COMPOSE_DOCKER_CLI_BUILD, CANVAS_SKIP_DOCKER_USERMOD
./script/docker_dev_setup.sh

Afterwards: docker compose up -d

Quick-start automated setup on macOS or Ubuntu; doc/docker/README.md describes it as a development environment.

How to configure Canvas LMS

  • CANVAS_LMS_ADMIN_EMAILE-mail address used for default administrator login (prefills the db:initial_setup prompt)

    values: E-mail address

  • CANVAS_LMS_ADMIN_PASSWORDPassword for the default administrator login

    values: Password

  • CANVAS_LMS_ACCOUNT_NAMEAccount name seen by users, usually your organization name

    values: Text

  • CANVAS_LMS_STATS_COLLECTIONWhether the installation submits usage data to Instructure

    values: opt_in, opt_out, or anonymized

  • config/database.ymlDatabase configuration; the production section points at your Postgres server, password and database name

    values: YAML copied from config/database.yml.example

FAQ

How do I get support?

Canvas points to its Getting Help wiki resources and asks questions on the user mailing list.

Are there any code differences between the open source and hosted offerings?

The hosted production code is the same code pushed to GitHub the same day, but a list of plugins and extensions (New Quizzes, MasteryPaths, Plagiarism Platform, Canvas Data, DocViewer and others) is not open sourced.

Does Canvas support any extensions?

Yes; Instructure has developed a number of proprietary extensions for Canvas, and you can write your own plugins too.

What? A contributor agreement? Why?

Canvas is commercially dual-licensed — AGPLv3 for the open-source community and a subscription for clients — so Instructure retains copyright over the project.

Can I contribute to Canvas?

Yes, but you must sign a contributor license agreement before your code is pulled into Canvas.

What open-source license is Canvas released under?

Canvas is released under the AGPLv3 license.

Do I need to install Canvas to use it?

No — Canvas Cloud, Instructure's hosted offering, is free for teachers who just want Canvas for their own course.

More in Learning Management System

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…