ready-to-use container to import from a Wordpress installation to jekyll
This container needs the following environment variables:
DB_HOST
host name of the MySQL database serverDB_DATABASE
name of the wordpress databaseDB_USERNAME
MySQL username for the wordpress installationDB_PASSWORD
MySQL password for the wordpress installationTABLE_PREFIX
optional table prefix. Defaults to wp_
Additionally to these environment variables, you need to mount the output directory as /srv
. Example:
cd /path/to/jekyll/project
docker run -e DB_HOST=1.2.3.4 \
-e DB_DATABASE=wordpress \
-e DB_USERNAME=wordpress \
-e DB_PASSWORD=passw0rd \
-v `pwd`:/srv \
codelovers/jekyll-wordpress-import