-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker4laravel .env file is overritten by laravel .env file when you docker compose up -d #2
Comments
docker-compose currently doesn't support using custom names for so the best option right now is to rename laravel's |
Even when you rename Laravel's https://github.com/wodby/laravel-php/blob/main/init/10_laravel_php.sh#L9 |
@schn-mark-plachetta you're right
also, you can try explicitly mounting php:
# ...
volumes:
- ./:/var/www/html:cached
- ./.laravel.env:/var/www/html/.env |
Codebase
Host OS
wsl - debian
Docker info output
Docker compose file
The text was updated successfully, but these errors were encountered: