Ei kuvausta

Girish Ramakrishnan 322090b4f3 Automate install using wp-cli 10 vuotta sitten
CloudronManifest.json a8b9749449 Add sendmail 10 vuotta sitten
Dockerfile 322090b4f3 Automate install using wp-cli 10 vuotta sitten
README.md 322090b4f3 Automate install using wp-cli 10 vuotta sitten
apache2-wordpress.conf e8ac71b90b Move to new base image 10 vuotta sitten
icon.png 48adac3ba2 Add icon 11 vuotta sitten
start.sh 322090b4f3 Automate install using wp-cli 10 vuotta sitten
supervisor-apache2.conf e8ac71b90b Move to new base image 10 vuotta sitten

README.md

Notes

The site_url() will always be the location where you can reach the site by tacking on /wp-admin on the end, while home_url() would not reliably be this location.

Building

docker build -t girish/wordpress .

Running

docker run -tiP --link mysql:mysql -e MYSQL_URL= -v /tmp/data:/app/data girish/wordpress

Notes

The install step seems to install cookies! When testing using docker, make sure that the cookies of a previous install are cleared. Otherwise, one keeps getting a 304.