Skip to content
Gregorio Galante edited this page Mar 7, 2020 · 1 revision

The docker integration offers:

  • A wordpress image with the theme and plugins inside.
  • A node image to compile NPM dependencies.
  • A mysql image for the databases.
  • A phpmyadmin image to manage the databases.

Configurations

Wordpress host: http://localhost:3000
Phpmyadmin host: http://localhost:3001
Database root password: root

Commands

Start project

docker-compose up

Compile project

docker-compose run node npm run build

Install NPM dependency

docker-compose run node yarn add DEPENDENCY

Install WP Sync

docker-compose run wordpress sh wp-content/themes/theme/docker/bin/install-wp-sync
Clone this wiki locally