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

Mick79's avatar

Any guides for putting a laravel app into docker?

I'm looking to move away from Heroku and the best option seems to be Render, but this requires Docker.

All advice, suggestions, input welcome.

0 likes
11 replies
Mick79's avatar

@martinbean Hmmm I see what you did there....

Anyone have any thoughts on the best places to host a Laravel App? I've been on Heroku for a couple years but it really seems to be getting bad. I am having more and more users email me the Heroku "Application Error" screen and I'm certain it's not the app that's doing more; I think it's Heroku able to handle less.

martinbean's avatar

I've been on Heroku for a couple years but it really seems to be getting bad. I am having more and more users email me the Heroku "Application Error" screen and I'm certain it's not the app that's doing more; I think it's Heroku able to handle less.

@Mick79 What exactly are the problems you’re having with Heroku? I’ve used it for a few years now and haven’t seen it “getting bad”?

If you’re getting application errors then it might be worth putting logging in your application and piping errors to something like Bugsnag or Sentry so you can diagnose the issue rather than just going, “Heroku’s bad, any alternatives?” Because if the issue is with code, then moving providers isn’t going to fix things and is just going to cost you a lot of time of effort for no gain.

Mick79's avatar

@Sinnbeck haha ok ok I'm taking this one on the chin. I was more hoping for a back on forth on the benefits of Render versus other options. I realise my question is terrible lol.

Sinnbeck's avatar

@Mick79 No worries. Personally I use Hetzner cloud, and use ploi for server setup + deploy pipeline

Mick79's avatar

@Sinnbeck I'm surprised people aren't shouting about Laravel forge, but tbh I was looking for an "all in one" solution. I'm not a fan of having an account on forge which manages a separate account on AWS for me. However if there's a case to be made for that, I'm all ears.

Sinnbeck's avatar

@Mick79 Ploi is just a forge alternative, and it's run out of europe :) Personally I just like the fact that I can set up a server and pull a project from github in minutes. Maybe there are others that can do it all on their own service (render perhaps?), but I like that I could use multiple providers for different things. I still have few old things running on digital ocean which is also set up using ploi, so for me I dont even have to think about where the server is. It all just works the same.

Be aware that this does not use docker though. Just plain nginx + php + mysql/postgres on the server

Mick79's avatar

@Sinnbeck Now that I've gone to use that guide... it actually sucks. It's very much not a step by step guide.

jinxkitt's avatar

Having hard time in deploying laravel app latest v10 on Render using docker. Does anyone have tried this set up?

Mick79's avatar

@jinxkitt I had to reach out to Render and one of their Dev Advocates helped me.

It's really not straight forward at all.

Please or to participate in this conversation.