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
Project ID:
5eff00b6-887c-4fb9-9f2f-02c7fb94d78c
5eff00b6-887c-4fb9-9f2f-02c7fb94d78c
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-variablesthank you Brody!