bakerkretzmar / laravel-deploy-preview

A GitHub Action to deploy PR preview sites for Laravel apps.
MIT License
19 stars 6 forks source link

Add support for other database options #28

Closed bakerkretzmar closed 10 months ago

bakerkretzmar commented 10 months ago

We can't actually install a different database engine (e.g. Postgres instead of MySQL) because that option is only available at server creation, but we could allow skipping creation of a database or using SQLite.

TzviPM commented 10 months ago

skipping database creation would be awesome. Also, an example in the README for how to supply custom db info via environment would be nice. Happy to help however I can

bakerkretzmar commented 10 months ago

By 'custom' do you mean like a hosted one somewhere? You can put any environment variables you want in environment, including DB_HOST, DB_DATABASE, DB_PORT, etc.