Moodle on Railway

Open-source learning management system for courses, quizzes and gradebooks, self-hosted on Railway.

Official site · License: GPL-3.0-or-later · 11 Railway templates

Deploy Moodle on RailwayCompare templates

Moodle is an open-source learning management system used by schools, universities and companies to run courses, quizzes, assignments and gradebooks. It also supports SCORM packages, H5P activities and badges, and a large plugin ecosystem.

Moodle is a PHP application that needs a web server, a database, a data directory for uploaded files and a cron job that runs every minute for notifications, backups and grading. Self-hosting gives you control over branding, plugins and learner data.

Moodle is licensed under GPL-3.0-or-later.

What Moodle can do

  • Courses, quizzes and assignments
  • Gradebook and completion tracking
  • SCORM and H5P content
  • Badges and certificates
  • Plugins and themes
  • Per-minute cron for notifications and maintenance

What people use it for

  • Online and blended courses for schools and training providers
  • Employee onboarding and compliance training
  • Self-paced courses with SCORM or H5P content
  • Branded learning portals with data kept in-house

Videos

Introduction to Moodle for Educators | Moodle Academy · Moodle
What is Moodle LMS? Latest release video · Moodle
Moodle Tutorial For Beginners | How To Use Moodle · Speak About Digital

Running Moodle on Railway

On Railway, the Moodle template builds Moodle 5.3 LTS from the checksum-verified official release on PHP 8.4 with Apache, installs the site from the command line on first boot, and runs cron inside the same service because it needs the data directory. It deploys PostgreSQL 18, Redis 8.2 for sessions and cache, and a volume for moodledata. The template author measured about 0.4 GB RAM idle across all services; the Moodle service is the main consumer, and the volume grows with course files.

Moodle templates on Railway

Moodle 5.3 LMS Online Learning PlatformMaintained by Tracklayer
Deploys Moodle 5.3 LTS, the open-source learning management system for courses, quizzes, assignments and gradebooks, from the official release on PHP 8.4 with Apache. Uses PostgreS
12 deployments
Deploy
moodle by an independent creator
Moodle is a free and open-source learning management system.
233 deployments
Deploy
Moodle | Open-Source Learning Management System (LMS) on Railway by an independent creator
Self-host Moodle. Most Popular LMS with courses, grading, 2k+ plugins.
50 deployments
Deploy
Moodle LMS by an independent creator
Moodle LMS sandbox — ideal for development, testing, and evaluation.
36 deployments
Deploy
Chamilo LMS | Open Source Moodle Alternative by an independent creator
Self-host Chamilo e-learning platform. Courses, quizzes, certs & more
31 deployments
Deploy
Centrifugo for Moodle by an independent creator
Web sockets support in Moodle (toolrealtime)
11 deployments
Deploy
Moodle by an independent creator
Current Moodle LMS on Postgres, installed with no open setup page
11 deployments
Deploy
Moodle by an independent creator
Learning management system for running online courses and grading
3 deployments
Deploy
Moodle 5.2 LMS — Open Source Learning Platform by an independent creator
Self-hosted Moodle LMS with Postgres — courses, quizzes, grading
3 deployments
Deploy
Moodle by an independent creator
Moodle 5.3.1 LMS with Postgres: auto-installed, cron, persistent storage
2 deployments
Deploy
Moodle | (Just Updated) LMS Whose Cron Actually Runs, Plugins Survive by an independent creator
Moodle LMS whose cron runs and whose plugins survive every redeploy
0 deployments
Deploy

Tracklayer templates are listed first. Other Moodle templates follow, ordered by total deployments on Railway. How this works.

Deployment numbers as of 2026-11-20.

Questions about Moodle

How do I log in?

Enter your e-mail in MOODLE_ADMIN_EMAIL when deploying. The first boot installs Moodle and takes a few minutes. Then sign in as admin with MOODLE_ADMIN_PASSWORD from the Moodle service variables and change it.

How do I add plugins or themes?

Moodle's code is part of the image, so plugins go into the template repository under services/moodle/overlay/ and are deployed with a redeploy. The upgrade then runs automatically.

Can Moodle send e-mail?

Yes, through the MOODLE_SMTP_ variables. Outbound SMTP requires the Railway Pro plan.

How do I upgrade?

Change MOODLE_VERSION, MOODLE_BRANCH and MOODLE_SHA256 in services/moodle/Dockerfile, back up Postgres and the volume, then redeploy.

Can I scale it horizontally?

Moodle runs as a single service because of the moodledata volume, so scale it vertically and raise the Apache request limits.

Similar apps

Tracklayer maintains the templates marked as such; Moodle is a trademark of its owners and this site is not affiliated with them.