Skip to content

This is a example Wordpress project configured with voltgrid.py deployment sematics

License

Notifications You must be signed in to change notification settings

voltgrid/voltgrid-wordpress-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This is a example Wordpress project configured with voltgrid.py deployment sematics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published