Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GTHell's avatar

How do you dockerize Laravel app for production?

I want to run laravel behind proxy which mean that the docker image of laravel need to contain laravel app + nginx. Is there any standardization to this?

0 likes
2 replies
GTHell's avatar

They use the share volume. I want to use nginx on docker-compose to reverse proxy to the actual laravel container that has its own nginx webserver.

Please or to participate in this conversation.