Deploy Qinglong
Cron panel for Python, JS, TS and Shell scripts, with logs and alerts
Just deployed
/ql/data
Deploy and Host Qinglong on Railway
Qinglong (青龙) is an open-source web panel for scheduled scripts. You upload or subscribe to Python, JavaScript, TypeScript and Shell scripts, give each one a cron schedule, and Qinglong runs them, keeps their logs, installs their dependencies and sends notifications. It is Apache-2.0 licensed and maintained at whyour/qinglong.
About Hosting Qinglong
This template runs Qinglong 2.24.0 from the official whyour/qinglong image, pinned by version and digest and built from a public GitHub repository. One service serves the panel on your Railway domain. Its SQLite database, scripts, logs, config and installed dependencies live on a Railway volume at /ql/data, so they survive redeploys and restarts. The admin account is created on the first boot from a generated password, so nobody can claim the setup wizard. A generated JWT_SECRET signs logins. A health check on /api/health and a watchdog that exits non-zero let Railway restart the panel if it stops answering.
Common Use Cases
- Run Python or Node.js scripts on a cron schedule: check-ins, scrapers, reminders, backups or API syncs
- Subscribe to Git repositories of scripts and keep them updated automatically
- Collect task logs and send success or failure notifications to Telegram, email, Bark and other channels
Dependencies for Qinglong Hosting
- One Railway service built from
aalfath/qinglong-railway-template(officialwhyour/qinglongimage) - One Railway volume at
/ql/data(SQLite database, scripts, logs, dependencies)
Deployment Dependencies
- Qinglong on GitHub: https://github.com/whyour/qinglong
- Release 2.24.0 notes: https://github.com/whyour/qinglong/releases/tag/v2.24.0
- Official image: https://hub.docker.com/r/whyour/qinglong
- Template repository: https://github.com/aalfath/qinglong-railway-template
Implementation Details
The deploy form asks nothing. After the first deploy:
- Open the service's Variables tab and copy
QL_ADMIN_PASSWORD(the user isQL_ADMIN_USERNAME, defaultadmin). - Open the public URL and sign in, then change the password and turn on two-factor login under System settings → Security. Changing the variable after the first boot has no effect.
- Add scripts, subscriptions, dependencies and timed tasks from the panel.
Cron schedules run in UTC; set a TZ variable (for example Asia/Shanghai) to change it. Task concurrency follows the service's vCPU count. The panel idles at about 200 MB and runs in 0.5 GB; heavy scripts or big dependency installs need more memory.
Updates: when a new Qinglong version is tested, the template repository's main branch is bumped and Railway shows you an update notice; CHANGELOG.md lists breaking changes first. Apply it from the Railway dashboard (the volume is kept) instead of the panel's built-in system update.
Why Deploy Qinglong 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 Qinglong 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