#Wordpress, #Docker, #MySql Hello Friends,
Check out this video for easy setup of your own locally hosted free blog. This is done in few minutes using docker containers. If you have not seen my previous video on mysql checkout the video here: • MySQL Docker Tutorial | MySQL Docker Setup...
Follow the instructions below for wordpress setup on docker .
docker pull mysql:5.7
docker pull wordress:latest
docker container run -d --name mysqldb -p 3306:3306 --restart=always -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=wordpress -e MYSQL_USER=wordpressuser -e MYSQL_PASSWORD=wordpress -v mysql_data:/var/lib/mysql mysql:5.7
docker container run -d --name wordpress --link database -p 8080:80 -e WORDPRESS_DB_HOST=mysqldb:3306 -e WORDPRESS_DB_NAME=wordpress -e WORDPRESS_DB_USER=wordpressuser -e WORDPRESS_DB_PASSWORD=wordpress -v wordpress_data:/var/www/html wordpress:latest
you change the password and db user name according to your wish.
Follow me @:
/ thetips4you
/ @thetips4you
https://fb.me/thetipsforall
http://www.thetips4you.com
コメント