You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of a project using Laravel Sail, I use a docker-compose.override.yml file to configure certain things specific to my environment, such as using NFS mounts. This relies on the functionality available as part of docker-compose (see https://docs.docker.com/compose/extends/#multiple-compose-files).
This works but gives a warning during sail up and prevents other commands such as sail artisan from working
stat /redacted/app/docker-compose.yml -f docker-compose.override.yml: no such file or directory
stat /redacted/app/docker-compose.yml -f docker-compose.override.yml: no such file or directory
When running sail artisan:
stat /redacted/app/docker-compose.yml -f docker-compose.override.yml: no such file or directory
stat /redacted/app/docker-compose.yml -f docker-compose.override.yml: no such file or directory
Sail is not running.
You may Sail using the following commands: './vendor/bin/sail up' or './vendor/bin/sail up -d'
I realise most people don't use Sail in this way but I also feel that the default docker-compose behaviour should not regress.
Steps To Reproduce:
Create a docker-compose.override.yml file in a repository using sail. For example:
Description:
As part of a project using Laravel Sail, I use a
docker-compose.override.yml
file to configure certain things specific to my environment, such as using NFS mounts. This relies on the functionality available as part ofdocker-compose
(see https://docs.docker.com/compose/extends/#multiple-compose-files).An example of such a file is below:
By introducing the
SAIL_FILE
environment variable and allowing you to configure the.yml
file used this is no longer working like before.One option I've found is to define the
SAIL_FILE
environment variable like so:This works but gives a warning during
sail up
and prevents other commands such assail artisan
from workingWhen running
sail artisan
:I realise most people don't use Sail in this way but I also feel that the default
docker-compose
behaviour should not regress.Steps To Reproduce:
Create a
docker-compose.override.yml
file in a repository using sail. For example:Run
sail up
The
hello-world
service will not be started.The text was updated successfully, but these errors were encountered: