bikecoders / docker-compose_wordpress

Docker compose for wordpress development and deployment with https with letsencrypt, nginx, mariadb, php7.1, wp-cli and phpmyadmin
MIT License
4 stars 2 forks source link

Avoid raise phpmyadmin container on production #4

Open dianjuar opened 6 years ago

dianjuar commented 6 years ago

When you are on production and you run docker-compose up the phpmyadmin is raised and you have to stop it manually to close this security issue because provably you won't need it.

A way to accomplish to create links between containers to when you docker-compose up SOMETHING the phpmyadmin is ignored and if you need it you could raised manually with docker-compose up phpmyadmin

dianjuar commented 6 years ago

I can do it in development move... Was easy, just rise the nginx service wp_http_server

I want to use another name more accurate, like http_server or nginx