+ phpmyadmin via docker. But, i have a question first. As i have to host some sites on same machine (like domain1.com, sub.domain1.com, domain2.com). I found this article for normally installed nginx (without docker) https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04-lts but i guess it wont work with Docker. I saw also "nginx-proxy" by jwilder (https://hub.docker.com/r/jwilder/nginx-proxy), it's probably can do what i want, but i would prefer to do it with official nginx (as it has slower updates than official). My question - is it hard to do similar thing as jwilder/nginx-proxy does, but for official nginx in docker?
You can look at his github page to see what's needed to do it. You might even be able to just clone it and rebuild it with a newer official nginx and see if it works
There is a bit of documentation on the jwilder/nginx-proxy GitHub page on how to run the official image with the jwilder/docker-gen image to achieve the same goal
Обсуждают сегодня