DrupalStand / drupal-dev-docker

An opinionated Drupal development environment based on Docker.
GNU General Public License v2.0
22 stars 19 forks source link

Production deployment MVP #45

Closed jackinloadup closed 4 years ago

jackinloadup commented 6 years ago

@smfsh I'd like you to review and critique this. I could add documentation but want to validate the approach. As I said in the commit message this is quite simple. Good for small sites. Reach out with questions ;-)

Use-case goes like this.

make init
make stop
make prod-export
make prod-start
jackinloadup commented 6 years ago

BTW the current total tar of the web, php, and db containers amounts to 424MB. web - 72MB php - 198MB db - 154MB

I feel confident i can reduce both web and php by ~50% by eliminating files that either are not useful in that container or not useful on production. Also many deployments wont require a db. Given this I'm hoping to get the deployed size down to ~135MB before compression.

jackinloadup commented 4 years ago

Closing to rebuild based on new changes.