Skip to content

Instantly share code, notes, and snippets.

@sidedwards
Created March 26, 2019 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sidedwards/0a43a7994919997f75f3bac475b289e5 to your computer and use it in GitHub Desktop.
Save sidedwards/0a43a7994919997f75f3bac475b289e5 to your computer and use it in GitHub Desktop.
Nanobox boxfile.yml for Sage 9 Wordpress
run.config:
engine: php
engine.config:
runtime: php-7.2
extensions:
- gd
- mysqli
- curl
- zlib
- mbstring
- tokenizer
- xml
extra_packages:
- nodejs-9.8.0
extra_path_dirs:
- wp-content/themes/theme_dir/node_modules/.bin
extra_steps:
- cd wp-content/themes/theme_dir && yarn && cd /
cache_dirs:
- wp-content/themes/theme_dir/node_modules/
web.wp:
start:
php: start-php
apache: start-apache
writable_dirs:
- wp-content/themes/theme_dir/node_modules
network_dirs:
data.storage:
- wp-content/uploads/
data.db:
image: nanobox/mysql
data.storage:
image: nanobox/unfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment