A Wordpress based on bitnami/wordpress with replacing configs to use sub directory ('/wp').
3.7K
A Wordpress based on bitnami/wordpress with replacing configs to use sub directory ('/wp').
You need to get docker-compose.yml to start bitnami-wordpress-subdir.
$ curl -l https://raw.githubusercontent.com/weseek/bitnami-wordpress-subdir/master/docker-compose.yml -o docker-compose.yml
Finished instaration, you can start bitnami-wordpress-subdir.
# User is needed to join docker group or root authority.
$ docker-compose up/down
NOTE: A post is created titled 'Hello World!' every docker-compose up.
Then, browser can access wordpress by enter URL http://localhost/wp/.
Edit bitnami/wordpress version in Dockerfile.
# Dockerfile
FROM bitnami/wordpress:4.8.3-r0 # !!!CHANGE THIS VERSION!!!
: <snip>
Build and test browser access. (URL http://localhost/wp/)
$ docer-compose up -d build
Add a version tag to the committed repository. Note: It is need to follow rule bellow.
Content type
Image
Digest
Size
107.1 MB
Last updated
almost 9 years ago
docker pull weseek/bitnami-wordpress-subdir