{"action":"created","issue":{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/84","labels_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/84/comments","events_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/84/events","html_url":"https://github.com/geerlingguy/drupal-vm/issues/84","id":70964645,"number":84,"title":"Make Drupal VM prod-ready (on a DigitalOcean 1GB Droplet)","user":{"login":"geerlingguy","id":481677,"avatar_url":"https://avatars.githubusercontent.com/u/481677?v=3","gravatar_id":"","url":"https://api.github.com/users/geerlingguy","html_url":"https://github.com/geerlingguy","followers_url":"https://api.github.com/users/geerlingguy/followers","following_url":"https://api.github.com/users/geerlingguy/following{/other_user}","gists_url":"https://api.github.com/users/geerlingguy/gists{/gist_id}","starred_url":"https://api.github.com/users/geerlingguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geerlingguy/subscriptions","organizations_url":"https://api.github.com/users/geerlingguy/orgs","repos_url":"https://api.github.com/users/geerlingguy/repos","events_url":"https://api.github.com/users/geerlingguy/events{/privacy}","received_events_url":"https://api.github.com/users/geerlingguy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/labels/planned","name":"planned","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-25T20:36:32Z","updated_at":"2015-05-08T21:57:25Z","closed_at":null,"body":"This VM would do nicely on a 1 GB (or greater) Linode of DigitalOcean VM, or really anywhere (server or VM) where you would want to host a typical Drupal site.\r\n\r\nWhile it doesn't (yet) include Nginx or Varnish as a reverse proxy (which would make for huge gains in performance for a typical Drupal site), it has the entire stack in place for a decent and secure production environment. Plus, those comfortable developing with the Drupal VM could use the exact same stack/configuration for production (or other environments), making this a more flexible environment.\r\n\r\nI think I can make a couple tweaks to the playbook (to do things like _not_ disable AppArmor on production, based on a variable, and to add the `geerlingguy.security` role for extra security hardening), and then add a guide for 'setting up a Drupal VM production server on DigitalOcean... or Linode... etc.\"\r\n\r\nIt's a similar setup to how I deploy and locally test www.midwesternmac.com, www.hostedapachesolr.com, www.servercheck.in, etc.\r\n\r\nWhile I've had the idea in my head a bit, it was really @wizonesolutions, @attiks and @stevepurkiss who kicked off this issue—see: https://twitter.com/wizonesolutions/status/591958086648274944\r\n\r\nSteps to success:\r\n\r\n- [x] Add new 'extra_security_enabled' variable (to be used as toggle for security-related features)\r\n- [x] Don't disable AppArmor MySQL config when secure variable is true\r\n- [x] Use `geerlingguy.security` role when secure variable is true\r\n- [x] Add `example-prod.config.yml` file with example configuration for 1GB VM baseline (targeting DigitalOcean or Linode, for starters... but it will be generic enough to run anywhere).\r\n- [ ] Add Wiki page \"Drupal VM prod on DigitalOcean\" with a tutorial\r\n- [ ] Copy the configured make file up to the server into /tmp directory (instead of using shared path)—possibly create new issue for this."},"comment":{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/comments/100378520","html_url":"https://github.com/geerlingguy/drupal-vm/issues/84#issuecomment-100378520","issue_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/84","id":100378520,"user":{"login":"ajfabbri","id":558234,"avatar_url":"https://avatars.githubusercontent.com/u/558234?v=3","gravatar_id":"","url":"https://api.github.com/users/ajfabbri","html_url":"https://github.com/ajfabbri","followers_url":"https://api.github.com/users/ajfabbri/followers","following_url":"https://api.github.com/users/ajfabbri/following{/other_user}","gists_url":"https://api.github.com/users/ajfabbri/gists{/gist_id}","starred_url":"https://api.github.com/users/ajfabbri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajfabbri/subscriptions","organizations_url":"https://api.github.com/users/ajfabbri/orgs","repos_url":"https://api.github.com/users/ajfabbri/repos","events_url":"https://api.github.com/users/ajfabbri/events{/privacy}","received_events_url":"https://api.github.com/users/ajfabbri/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T21:57:25Z","updated_at":"2015-05-08T21:57:25Z","body":"Sounds reasonable.  I would add some comments in the files to that effect maybe?"}}