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

abiekebede's avatar

DevOp - How to deploy Laravel on Docker Swarm with Traefik2

I wonder if any DevOp Engineers could help with this.

The objectives are to setup a good architecture for Laravel application so that it can have three environments:

  • Development
  • Debug
  • Production

After spending many hours researching, I have come back to Laracasts community for much needed help. From my experience, I believe other developers are also keen about this subject.

If Anyone could shine some light into this, i'm sure you're doing me and the world a big favour :)

Perhaps a subject for series on DevOp Technique would?????

Thank you in advance.

0 likes
3 replies
OussamaMater's avatar
Level 37

One of the instructors in Laracasts "Andrew" has a great video about deploying with Docker and Traefik, you can scale it to Docker Swarm once you understand the workflow, so hopefully this guides you

And +1 for the series, that would be great.

3 likes

Please or to participate in this conversation.