S
S
Sergey Sokolov2020-03-08 19:13:42
Nginx
Sergey Sokolov, 2020-03-08 19:13:42

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: :fpmand :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

1 answer(s)
V
Vitaly Karasik, 2020-03-10
@vitaly_il1

geekyplatypus.com/dockerise-your-php-application-w...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question