Public Repository

Last pushed: 2 years ago
Short Description
from reedd/ambassador
Full Description

#server mysql database#

docker run -d -e MYSQL_ROOT_PASSWORD=passwd -v /var/docker-data/mysqldb:/var/lib/mysql --name mysql moahom/mysql

docker run -d --link mysql:mysql --name mysql_ambassador -p 3306:3306 moahom/ambassador

#server nginx#

docker run -d --name mysql_ambassador --expose 3306 -e MYSQL_PORT_3306_TCP=tcp://ip_server_db:3306 moahom/ambassador

docker run -it --name test-ambassador --link mysql_ambassador:mysql -d -p 8001:80 -v /var/www/:/usr/share/nginx/html moahom/webclient /bin/sh -c 'service php5-fpm restart && nginx'
Docker Pull Command
Owner
moahom

Comments (0)