Self-host Canvas LMS
release/2026-05-20.143Open-source LMS for schools and universities
docker compose up -d- 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
instructure/canvas-lmsWhat is Canvas LMS?
Canvas LMS is a learning management system for colleges, universities and K-12 schools, developed and maintained by Instructure and released under the AGPLv3 license. You install it from the Git repository or a tarball of the prod branch onto a POSIX server (the guides are written and tested on Ubuntu), then run it as a Ruby on Rails application: PostgreSQL is the production database, Redis handles caching and features such as OAuth2, Apache with Passenger serves the web app, and a delayed_job daemon processes background jobs through script/canvas_init. Configuration lives in YAML files copied from .example templates (domain.yml, database.yml, outgoing_mail.yml, security.yml, amazon_s3.yml and others), and rake db:initial_setup creates the admin account; CANVAS_LMS_ADMIN_EMAIL, CANVAS_LMS_ADMIN_PASSWORD, CANVAS_LMS_ACCOUNT_NAME and CANVAS_LMS_STATS_COLLECTION can prefill those prompts. Docker is offered as an automated development setup via script/docker_dev_setup.sh. The wiki's Canvas Integration page documents plugins for Amazon S3 file storage, Google Drive, Kaltura video, Box View document viewing, Unsplash images and social services. Some surrounding tools are not open source: the self-hosted edition lacks New Quizzes, MasteryPaths, the plagiarism platform, DocViewer, Canvas Data, New Analytics, the chat tool, SCORM import, commercial SIS integrations and migration tools. A separate commercial hosted offering, Canvas Cloud, is free for teachers.
Canvas LMS alternatives
Frappe LMSFully open-source, self-hosted LMS: build structured courses with chapters and lessons, run live batches and quizzes, and issue completion certificates.CompareFrappe LMS with Canvas LMS
classroomioSelf-hosted, open-source LMS for SaaS companies to create courses, manage cohorts, issue certificates, and run branded academies with AI course creation and an AI tutor.Compareclassroomio with Canvas LMS
learnhouseLearnHouse is a self-hosted, open-source LMS with AI-powered courses, real-time collaboration, code execution, and enterprise SSO.Comparelearnhouse with Canvas LMS
Chamilo LMSChamilo LMS is a self-hosted, open-source e-learning platform for 41M+ learners with course management, SCORM/LTI/xAPI, AI grading, and Symfony/VueJS architecture.CompareChamilo LMS with Canvas LMS- MoodleMoodle is a free and open-source Learning Management System (LMS) designed to help educators create effective online courses. It is scalable and supports a wide range of pedagogical approaches.CompareMoodle with Canvas LMS
courselitA self-hosted LMS and course platform: open-source tooling to author lessons, sell digital downloads, run communities and publish blogs via a no-code builder.Comparecourselit with Canvas LMS
RELATERELATE is a self-hosted, open-source LMS built on Django for programming courses with automatic code grading, git-backed content versioning, and flexible access rules.CompareRELATE with Canvas LMS
Didacta CommunitySelf-hosted fair-code LMS with modular architecture, Fundae/RGPD/WCAG compliance, AI tutor, Zoom, Stripe, SCORM — a modern Moodle alternative.CompareDidacta Community with Canvas LMS
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 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
Detailed instructions for installation and configuration of Canvas are provided on our wiki.
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
Chamilo LMSChamilo LMS is a self-hosted, open-source e-learning platform for 41M+ learners with course management, SCORM/LTI/xAPI, AI grading, and Symfony/VueJS architecture.
classroomioSelf-hosted, open-source LMS for SaaS companies to create courses, manage cohorts, issue certificates, and run branded academies with AI course creation and an AI tutor.
CohortHarborCohortHarbor is a self-hosted, open-source employee onboarding platform with policy management, online learning, exams, and email automation. Built with Next.js & SQLite.
courselitA self-hosted LMS and course platform: open-source tooling to author lessons, sell digital downloads, run communities and publish blogs via a no-code builder.
DigistepsSelf-hosted, open-source (AGPLv3) PHP app for building step-by-step learning paths: locked steps, learner file/audio submissions, star rubric grading.
Frappe LMSFully open-source, self-hosted LMS: build structured courses with chapters and lessons, run live batches and quizzes, and issue completion certificates.
GibbonSelf-hosted, open-source school platform for K-12: student records, lesson planner, timetable, attendance, markbook, admissions and messaging on PHP and MySQL.
ILIASMature open-source LMS (since 1998) for web-based e-learning. Used by schools, universities, businesses worldwide. Supports SCORM, LTI, LDAP, plugins.
INGIniousINGInious is a self-hosted, open-source automated grading platform that runs student code in Docker containers and integrates with LMS via LTI.
LatheLathe is a self-hosted, open-source CLI that uses LLMs to generate multi-part technical tutorials, then serves them in a local web UI with dark mode for hands-on learning
MemorwiseSelf-hosted NotebookLM alternative for document chat with any LLM. Drop in files/links — local RAG Q&A, knowledge graphs, flashcards, quizzes, audio. One command.- MoodleMoodle is a free and open-source Learning Management System (LMS) designed to help educators create effective online courses. It is scalable and supports a wide range of pedagogical approaches.
0 comments