7nXYD6nY
2017-01-11 18:54:02


mysql
docker run --name mysql -e MYSQL_ROOT_PASSWORD=senha123 -e MYSQL_USER=admin -e MYSQL_PASSWORD=senha123 --restart=always -p 3306:3306 -d mysql

balanceador de cargas
http://rafaelalmeida.net/blog/2015/07/18/proxy-reverso-com-docker/
https://hub.docker.com/r/jwilder/nginx-proxy/
docker run --name reverse-proxy -v /var/run/docker.sock:/tmp/docker.sock:ro --restart=always -p 80:80 -d jwilder/nginx-proxy

phpmyadmin
https://hub.docker.com/r/phpmyadmin/phpmyadmin/
docker run --name phpmyadmin --link mysql:db -e VIRTUAL_HOST=phpmyadmin.orangepixel.com.br --restart=always -p 8780:80 -d phpmyadmin/phpmyadmin

orangepixel
docker run --name orangepixel --link mysql:db -v /home/gabriel/orangepixel.com.br:/var/www/html -e VIRTUAL_HOST=orangepixel.com.br,www.orangepixel.com.br --restart=always -p 8280:80 -it apache2php7 bash
apt-get update && apt-get install php7.0-gb