I
I
Islam Ibakaev2019-10-12 10:24:21
Docker
Islam Ibakaev, 2019-10-12 10:24:21

Why is there an error when trying to build laravel on docker?

Good afternoon. I want to raise laravel on docker, I found this article . At the very beginning there is a link to a turnip. Did everything as it should, no errors, everything started without problems. However, in the browser it gives


This page isn't working
localhost is currently unable to handle this request.
HTTP ERROR 500

I don't understand what is the problem?
To reproduce the issue:
1.
git clone [email protected]:aschmelyun/docker-compose-laravel.git

2. cd docker-compose-laravel
3. rmdir src
4. laravel new src
5. docker-compose build
6. docker-compose up -d
7. in /src/.env set DB_HOST=mysqland APP_URL=http://localhost:8080
After that, everything should work like the author.
Docker and docker-compose versions are latest, os is linux mint 19.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question