Laravel with MySQL and Dockerfile deployment

Hey I'm trying to deploy my laravel app from the Github repository. My question is, does railway automatically deploys a MySQL database and configure the required env vars related to db when working with github repo (I saw something regarding DB plugin but I haven't used it) or I need to create a MySQL provision, get the vars and manually put them in the variables tab?
4 Replies
Percy
Percy16mo ago
Project ID: 5eff00b6-887c-4fb9-9f2f-02c7fb94d78c
coldgroove
coldgrooveOP16mo ago
5eff00b6-887c-4fb9-9f2f-02c7fb94d78c
Brody
Brody16mo ago
you can add a mysql database to your project with the + New button inside of a project, then you only need to setup the variable references to that database https://docs.railway.app/develop/variables#reference-variables
coldgroove
coldgrooveOP16mo ago
thank you Brody!
Want results from more Discord servers?
Add your server