docker-images/wordpress at master · freenas/docker-images · GitHub
Skip to content
This repository was archived by the owner on Feb 12, 2021. It is now read-only.

Latest commit

 

History

History

wordpress

Folders and files

How to use this image

The following environment variables are also honored for configuring your WordPress instance:

WORDPRESS_DB_HOST=... (defaults to the IP and port of the linked mysql container)

WORDPRESS_DB_USER=... (defaults to "root")

WORDPRESS_DB_PASSWORD=... (defaults to the value of the MYSQL_ROOT_PASSWORD environment variable from the linked mysql container)

WORDPRESS_DB_NAME=... (defaults to "wordpress")

WORDPRESS_TABLE_PREFIX=... (defaults to "", only set this when you need to override the default table prefix in wp-config.php)

WORDPRESS_AUTH_KEY=..., -e WORDPRESS_SECURE_AUTH_KEY=..., -e WORDPRESS_LOGGED_IN_KEY=..., -e WORDPRESS_NONCE_KEY=..., -e WORDPRESS_AUTH_SALT=..., -e WORDPRESS_SECURE_AUTH_SALT=..., -e WORDPRESS_LOGGED_IN_SALT=..., -e WORDPRESS_NONCE_SALT=... (default to unique random SHA1s)

If the WORDPRESS_DB_NAME specified does not already exist on the given MySQL server, it will be created automatically upon startup of the wordpress container, provided that the WORDPRESS_DB_USER specified has the necessary permissions to create it.