Deploy Rundeck
Rundeck 6.3.0 runbook automation and job scheduler with Postgres
Just deployed
/home/rundeck/var
Just deployed
/var/lib/postgresql/data
Deploy and Host Rundeck on Railway
Rundeck is an open-source runbook automation and job scheduler from PagerDuty. It gives operations teams one web UI and API to define jobs, run scripts and commands on servers, schedule them, and control who may run what through access policies, with a full log of every execution.
About Hosting Rundeck
Rundeck is a Java web application that needs a relational database for jobs, execution history, project settings and its key store, plus disk for execution log files. This template runs the official Rundeck 6.3.0 image, built from a GitHub repo, next to Railway Postgres. A small start script replaces the image's default admin:admin login with a generated password, encrypts stored keys and passwords with a generated secret, sets the public URL from the Railway domain, and keeps execution logs on a volume at /home/rundeck/var. The first start takes about one to two minutes while Rundeck creates its database tables.
Common Use Cases
- Self-service runbooks: let developers or support staff run approved operational tasks (restarts, cache flushes, deploy steps) from a web form
- Scheduled jobs and cron replacement with history, notifications and access control
- Running scripts and commands across many servers over SSH from one place, with secrets kept in Rundeck's encrypted key storage
Dependencies for Rundeck Hosting
- Rundeck 6.3.0 (official
rundeck/rundeckimage) - PostgreSQL (Railway Postgres)
Deployment Dependencies
- Rundeck Docker image: https://hub.docker.com/r/rundeck/rundeck
- Rundeck release notes: https://docs.rundeck.com/docs/history/
- Rundeck Docker configuration reference: https://docs.rundeck.com/docs/administration/configuration/docker.html
- Template repo: https://github.com/aalfath/rundeck-railway-template
Implementation Details
After deploying, open the Rundeck service's public URL and log in as admin with the RUNDECK_ADMIN_PASSWORD value from the service's Variables tab. Keep RUNDECK_ENCRYPTION_PASSWORD unchanged after the first start, or keys stored in Rundeck can no longer be read. If you add a custom domain, set RUNDECK_GRAILS_URL to https://YOUR-DOMAIN. Optional features such as SMTP notifications, LDAP or SSO logins are set with extra RUNDECK_* variables from the Rundeck Docker documentation. Jobs run on the Rundeck container itself (the local node) or on your own servers over SSH; this template doesn't add worker nodes.
Why Deploy Rundeck on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Rundeck on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content