Skip to content

HouseOfAgile/docker-wordpress-multilang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-wordpress-multilang

Deploy wordpress latest version in various language within docker, nginx and php-fpm.

usage

Create a file for each wordpress you want to deploy with the following content:

# default name
wp_name=dummy_wp

# Default language
wp_lang=EN_en

# default host for the installation within the container
wp_host=wp_dummy.localhost

# root user
MYSQL_ROOT_USER=root

# mysql root password
MYSQL_ROOT_PASSWORD=password

# mysql host (should be within the same docker network)
MYSQL_HOST=172.17.0.3

Then build your image and run it:

docker build -f Dockerfile.php7 -t "houseofagile/docker-wordpress-multilang:php7" .
docker run -d --name dev-wordpress -P houseofagile/docker-wordpress-multilang:php7

If you are missing a mysql server : docker run --name dev-mysql -e MYSQL_ROOT_PASSWORD=password -d mysql:5.7

Raw usage with php5 or php7 versions

Use the php version you want

Next steps

  • Add support for wp cli ?

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published