Skip to content

Docker configuration for Wordpress test/dev instances

Notifications You must be signed in to change notification settings

EQAR/eqar-web-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker configuration for WordPress testing/development

Quick start

  1. Run update_wp.sh to fetch/update WordPress core and plugins from Slik-managed instance
  2. Save a fitting database dump in 0001_XYZ.sql
  3. Clone theme repository into eqar-wptheme directory
  4. Run mkdir -p eqar-wptheme/public/js and mkdir -p eqar-wptheme/public/css
  5. Create .env (see below)
  6. Run docker-compose build
  7. Run docker-compose up

Environment

Required variables (or technically not, but have no useful default):

  • WORDPRESS_DB_NAME
  • WORDPRESS_DB_USER
  • WORDPRESS_DB_PASSWORD
  • WORDPRESS_THEME is the folder in which the theme will be located, will be mounted with same name under /var/www/html/assets/themes in the container
  • DEQAR_API_KEY
  • EQARDB_API_KEY

These should be something random, per wp-config.php documentation:

  • 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

Optional (with reasonable defaults):

About

Docker configuration for Wordpress test/dev instances

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published