September 30, 2020
You can attach an Amazon RDS database to a Laravel Vapor deployment, which automatically configures your Laravel app to use that database.
First, create a database on Vapor using the UI or the CLI.
Then, add it to your vapor.yml
file for your app:
id: 10583
name: my-app
environments:
production:
# Add the database like this:
database: my-database-name
# More configuration would go here
Now, next time you redeploy to Laravel Vapor, your app will have the necessary environment variables to connect to the database you specified.
Tufts Meal Plan Wrapped
Mar 2, 2024
Building an e-ink picture frame that displays an iCloud photo album
Jan 9, 2024
2023 in review
Jan 5, 2024
Subscribe to my newsletter for a monthly round-up of new blog posts and projects Iām working on!