Answer the question
In order to leave comments, you need to log in
How to use phpmyadmin lightweight docker image?
Bundle of nginx, mysql/mariadb, php-fpm in docker-compose. I want to add phpmyadmin.
Previously, I dragged the standard full image phpmyadmin/phpmyadmin , which includes everything: both apache and php-fpm.
I added a reverse proxy to this container in my nginx config and everything worked. The only downside is that to restart / start the container with nginx, you had to raise myadmin first.
Now I noticed that there are also light image tags: :fpm
and :fpm-alpine
, where there is no apache and there is only php-fpm.
Can't figure out how to use them with an existing nginx in a different container? How will static from this container be distributed? It would be nice to have an example of nginx.conf and docker-compose.yml that implement the usephpmyadmin/phpmyadmin:fpm
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question