Sign inSign up

pblodiaz/wordpress

By pblodiaz

•Updated over 6 years ago

Image
0

881

pblodiaz/wordpress repository overview

This image based on debian10 contains php 7.2.28, mariadb server 10 and libraries to run wordpress.

  • To run cointainer:

docker run --name hgpyme-$MACHINE_NAME -e "MACHINE_PORT=$HOST_PORT" -d -v $HOST_HGPYME_ROUTE:/var/www/wordpress/public_html -p $HOST_PORT:80 -p $SQL:3306 pblodiaz/wordpress:latest

Once the container is started, execute the following commands, to start mysql service, create mysql user, database and delete anonimous users, test tables and other security configuration to mariadb.

  • service mysql start
  • mysql -u root < /tmp/wordpress-init.sql && rm /tmp/wordpress-init.sql

MariaDB setting:

  • table: wordpressuser
  • user: wordpressuser
  • password:wordpressuser

Wordpress folder:

Copy all wordpress files inside /var/www/wordpress/public_html

Tag summary

Content type

Image

Digest

Size

296.7 MB

Last updated

over 6 years ago

docker pull pblodiaz/wordpress