Deploy Convex + Mysql
Convex is the open-source reactive database for app developers.
MySQL
mysql:9
Just deployed
/var/lib/mysql
convex-backend
get-convex/convex-backend:latest
Just deployed
/convex/data
convex-dashboard
get-convex/convex-dashboard:latest
Just deployed
Deploy and Host convex on Railway with Mysql database
Convex is the open-source reactive database for app developers aka the missing half of your React app.
About Hosting convex
Simply deploy the template š
š§ If you want to separate http and api urls you can setup different domains for ports (3210 is for api and 3211 is for http routes)
Admin dashboard access
- ssh to convex-backend service and execute ./generate_admin_key.sh
- copy the admin key logged to console
- open the public url of convex-dashboard
- paste admin key to login (this is your admin key keep it secret)
note: one dashboard instance can be re-used accross many backend instances if needed by repeating the steps above.
Rest of the usage and setup can be found in convex docs.
Links:
Common Use Cases
- Realtime use cases
- Performant BaaS use cases
- OLAP / CRDT Database use cases
Dependencies for convex Hosting
- https://github.com/get-convex/convex-backend/pkgs/container/convex-backend
- https://github.com/get-convex/convex-backend/pkgs/container/convex-dashboard
Deployment Dependencies
Why Deploy convex 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 convex 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
MySQL
mysql:9convex-backend
ghcr.io/get-convex/convex-backend:latestconvex-dashboard
ghcr.io/get-convex/convex-dashboard:latest