Skip to content

joshbetz/docker-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

396 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker WordPress

Build Status

WordPress and PHP with Memcached support.

docker pull joshbetz/wordpress

Environment Variables

WORDPRESS_DB_NAME

The MySQL database WordPress will use.

WORDPRESS_DB_HOST

The MySQL host.

MYSQL_USER

The MySQL user with access to the given database.

MYSQL_PASSWORD

The MySQL database password.

MYSQL_PASSWORD_FILE

If you have a password stored in a file, for example, as a docker secret.

$ echo "password" | docker secret create mysql_password -

In this case, you'd set MYSQL_PASSWORD_FILE=/run/secrets/mysql_password.

WordPress secrets

Typically these would be generated by the WordPress.org Salt Generator.

  • WORDPRESS_AUTH_KEY
  • WORDPRESS_SECURE_AUTH_KEY
  • WORDPRESS_LOGGED_IN_KEY
  • WORDPRESS_NONCE_KEY
  • WORDPRESS_AUTH_SALT
  • WORDPRESS_SECURE_AUTH_SALT
  • WORDPRESS_LOGGED_IN_SALT
  • WORDPRESS_NONCE_SALT

About

WordPress and PHP with Memcached support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •