Multiple apps reusing a droplet would be a good extra optimisation - heck they'd all have the same files so perhaps it should notice that there is an existing droplet. In my understanding of implementation (which isn't good for v2), this would be independent of changing how vmc works with manifests to deploy multiple apps?
It's the latter. I think the user would want to scale them independently (say a big backlog of jobs to clear)
Jesse, I don't think I understand spaces and how it applies to me running one app with multiple parts. I've never seen it running yet.
---inherit: base-manifest.ymlproperties:rails-env: stagingapp-host: console-staging#Base Manifest follows...
---properties:app-host: ${name}path: .env:RAILS_ENV: ${rails-env}RACK_ENV: ${rails-env}BUNDLE_WITHOUT: test:developmentservices:portal-db:type: postgresqlplan: 200portal-redis:type: redisplan: 200mem: 256Mdisk: 1Ginstances: 1host: nonedomain: none# app-specific configurationapplications:- name: consolehost: ${app-host}domain: ${target-base}mem: 512Minstances: 4command: bundle exec rake db:migrate && bundle exec rails server -p $PORT- name: console-resque-workercommand: bundle exec rake VERBOSE=true QUEUE=* resque:work- name: console-resque-schedulercommand: bundle exec rake VERBOSE=true resque:scheduler
Is the applications[] list supported in vmc 0.3? Currently the manifest we use has the relative path "." as the key. Can I provide an array of hashes instead of a hash to "applications:"? When we this added?
The example manifest in that post (which matches the schema of manifest.yml generated by vmc) is different from Matt's example. The blog post has a hash value for "applications" key (where the key is a relative path); Matt's had an array of hashes for the application key (like my initial email request I think)
Haha. I thought (someone other than Matt) wrote the email with the blog post. So my references to two emails might be confusing :)
:)
Thanks. I'll check it out when I finish today's leg of our driving holiday :)
That's great. Theoretically it answers my original email.