10up / wp-local-docker-v2

ARCHIVED: A simple Docker based development environment for WordPress.
MIT License
484 stars 81 forks source link

Feature/use new snapshots #339

Closed darylldoyle closed 1 year ago

darylldoyle commented 1 year ago

Description of the Change

This PR updates the local docker system to utilise the new Snapshots WP-CLI command rather than the prior docker-based WP Snapshots system.

This has the following benefits:

Closes #332 #316 #305

How to test the Change

  phpfpm:
      image: '10up/wp-php-fpm-dev:7.4-ubuntu'
      # ...
      volumes:
         # ...
          - '~/.wpsnapshots:/home/www-data/.wpsnapshots:cached'
          - '~/.aws:/home/www-data/.aws:cached'

Changelog Entry

Changed - Snapshots are now using the Snapshots WP-CLI command

Credits

Props @tlovett1, @darylldoyle

Checklist: