Challenges deploying PHP apps on multi node docker swarm

meetup logo

How do we get started with docker swarm and how do we get to the point we can properly deploy and update our php applications.

Do we need central logging, metrics, alerting to have confidence in our swarm.

Together with the slides there is a demo swarm setup with working applications. Warning, the default setup with all apps running will use +12Gb of RAM.

https://github.com/BlackIkeEagle/alpine-swarm

There are also 2 sample applications that contain a very simple base approach to build your own production ready images. Both are using the same approach where the static files are built into the nginx image and the PHP application is built into a php-fpm image.

presentation photo

Slides

slides