Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 964 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 964 Bytes

Wordpress Example

This is an example of how to configure Wordpress for deployment on Docker container based platforms such as Panubo.

By externalising the configuration you can get closer to 12 Factor App nirvana.

Configuration

Configuration is done by passing environment variables to the running PHP application:

Database

  • DB_NAME - Database Name
  • DB_USER - Database User
  • DB_PASS - Database Password
  • DB_HOST - Database Host

Secret Keys & Salts

  • AUTH_KEY
  • SECURE_AUTH_KEY
  • LOGGED_IN_KEY
  • NONCE_KEY
  • AUTH_SALT
  • SECURE_AUTH_SALT
  • LOGGED_IN_SALT
  • NONCE_SALT

Other

  • DEBUG - Enable debugging mode

Docker Compose

To get started with Docker Compose / Docker Machine:

git clone https://github.com/voltgrid/voltgrid-wordpress-example.git
docker-compose up

Then open your web browser and point it at the ip shown by docker-machine ip command.