WordPress on Railway
WordPress with MariaDB, Redis object cache and a cron service, self-installing on Railway.
WordPress is the open-source content management system behind a large share of websites. You manage pages, posts, media and users in an admin dashboard and extend the site with themes and plugins. It covers blogs, business sites and online shops through plugins such as WooCommerce.
Hosting it yourself gives control over plugins, data and cost, in return for handling updates and backups. Note that WordPress.org software is distinct from the hosted WordPress.com service.
WordPress is released under the GPL licence.
What WordPress can do
- Themes and plugins ecosystem
- Block editor for pages and posts
- Media library
- Roles and users
- Redis object cache
- Scheduled tasks through WP-Cron
What people use it for
- Blogs and company websites
- Content sites with a non-technical editor
- Online shops through plugins
- Replacing shared hosting with a container you control
Videos
Running WordPress on Railway
On Railway, the WordPress template deploys the official image (PHP 8.3, Apache) with tuned OPcache and phpredis, MariaDB 12.3 LTS with a volume, a password-protected Redis object cache and a cron service that calls wp-cron.php every five minutes. The site installs itself on first boot with a generated admin password, and wp-content sits on a volume. Railway bills the CPU, memory and volume storage used.
WordPress templates on Railway
Tracklayer templates are listed first. Other WordPress templates follow, ordered by total deployments on Railway. How this works.
Deployment numbers as of 2026-11-20.
Questions about WordPress
How do I log in?
Enter WP_ADMIN_EMAIL when deploying and wait for the WordPress service to become healthy. Open /wp-admin on the public domain and sign in with WP_ADMIN_USER (default siteadmin) and the generated WP_ADMIN_PASSWORD from the Variables tab.
What persists, and how do I use my own domain?
wp-content (plugins, themes, uploads) and the MariaDB data are on volumes. Core files come from the image on each deploy. For a custom domain, add it to the service, set WP_PUBLIC_URL, redeploy and run a search-replace of the old URL.
How do I upgrade WordPress?
Change WORDPRESS_IMAGE_TAG in the Dockerfile and redeploy; the boot script updates the database. The dashboard's one-click core update is hidden because the next deploy would revert it. Plugins and themes update from the dashboard.
How does it scale?
Vertically, because the WordPress service owns a volume. Raise memory and APACHE_MAX_REQUEST_WORKERS together (about 60 MB per worker). The sources give no measured memory figure.
What licences are involved?
WordPress and MariaDB are GPL, the Redis Object Cache plugin is GPL-3.0-or-later and Redis 8 is tri-licensed (RSALv2, SSPLv1, AGPLv3). This is a community template, not affiliated with WordPress.
Guides
Similar apps
Tracklayer maintains the templates marked as such; WordPress is a trademark of its owners and this site is not affiliated with them.