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
When using the DevContainer version of Laravel Sail, and publishing the docker-compose.yml file, this action will may collide with another production-ready Docker Compose file and replace it contents.
There should be an option to use a non-standard name for the docker-compose.yaml, like docker-compose.development.yml or docker-compose.sail.yml.
Steps To Reproduce
Create a docker-compose.yml file with the contents DO NOT REPLACE.
Execute php artisan sail:publish
Check the contents of the docker-compose.yml - It gets replaced, which is wrong.
The text was updated successfully, but these errors were encountered:
DarkGhostHunter
changed the title
Use alternative docker-compose location to not conflict with production
Docker Composer filename conflicts with production file
Nov 21, 2024
Sail Version
1.38.0
Laravel Version
11.33.2
PHP Version
8.4.0
Operating System
Linux
OS Version
Fedora 41
Description
When using the DevContainer version of Laravel Sail, and publishing the
docker-compose.yml
file, this action will may collide with another production-ready Docker Compose file and replace it contents.There should be an option to use a non-standard name for the
docker-compose.yaml
, likedocker-compose.development.yml
ordocker-compose.sail.yml
.Steps To Reproduce
docker-compose.yml
file with the contentsDO NOT REPLACE
.php artisan sail:publish
docker-compose.yml
- It gets replaced, which is wrong.The text was updated successfully, but these errors were encountered: