laravel env file resets every time when running docker compose up code example
Example: docker laravel configuration ubuntu
# apt-get install apt-transport-https ca-certificates curl software-properties-common -y
# apt-get install apt-transport-https ca-certificates curl software-properties-common -y