Mezzio with docker and nginx web server

Hi.
Are there some Docker images to work with Nginx and mezzio? Or do I need to create from scratch?

Thank you.

Any php-fpm image should work fine.

Marco Pivetta

1 Like

@ Sirpyerre
Hi - I wrote a post on setting up dockerized mezzio with nginx (will working php-8.1 and nginx dockerfiles and docker-compose).
^ This specific post is for mezzio/swoole variant specifically - bu I plan to follow up soon with php-fpm version as well soon.

https://bytepursuits.com/mezzio-using-swoole-openswoole-with-nginx-reverse-proxy-with-docker-containers-and-docker-compose

@ Sirpyerre here’s the example of how to set up nginx with php-fpm mezzio container (using docker containers):

https://bytepursuits.com/mezzio-using-phpfpm-with-nginx-reverse-proxy-with-docker-containers-and-docker-compose