Laravel Sail adds support for choosing which services you'd like installed

Laravel Sail[1], a lightweight CLI for interacting with Laravel’s default docker environment, recently launched a … Read more Laravel Sail adds support for choosing which services you'd like installed

Laravel Sail[1], a lightweight CLI for interacting with Laravel’s default docker environment, recently launched a new update that allows you to choose which services should be configured in your project’s docker-compose.yml file. Some of the options include MySQL, PostgresSQL, Redis, Memcached, Meilisearch, Selenium, and Mailhog.

A new with parameter in the installer command determines what services Laravel Sail should include. For example:

curl -s "https://laravel.build/example-app?with=mysql,redis" | bash

If you don’t pass the with option, Sail will configure the default stack of MySQL, Redis, Meilisearch, Mailhog, and Selenium, and this new setting gives you more fine-grained control.

For more information on this new option, consult the user guide[2].

References

  1. ^ Laravel Sail (laravel-news.com)
  2. ^ user guide (laravel.com)


Source: Laravel News


Categories: DevelopmentTags:

Tags:


Leave a Reply

Your email address will not be published. Required fields are marked *