Open lightsofapollo opened 10 years ago
I didn't know you had a blog!
:tada:
Just went through https://www.docker.io/learn_more/ ... it looks really cool! I want to try.
Just to add a bit more detail here since the configuration ended up non-trivial, we have the following needs...
app/
(possible we don't need the full meteor tool and we can get away with doing https://github.com/oortcloud/heroku-buildpack-meteorite/blob/master/bin/release#L9)mongoimport
app/
(possible we don't need the full meteor tool and we can get away with doing https://github.com/oortcloud/heroku-buildpack-meteorite/blob/master/bin/release#L9)It seems like the best thing might be to have separate development and production images. Perhaps the development one could even use the production one as the "base image".
So I was planning on creating the following containers:
1. Meteor // Host meteor server for dev, test, prod
2. MongoDB // Host mongodb server for dev, test
3. Source tree, firefox, xvfb, java // Dev, test environments
But I am running into some difficulty having containers talk to each other...
@gaye -link does this but its far from perfect or automatic
From the README:
I would consider using docker to package your dependencies (either as one bigass container or multiple?) then using volume mounts to run stuff... its a lot lighter weight then vagrant and is much faster. I wrote a blog post about this http://lightsofapollo.github.io/2014/01/31/docker-volumes/
Sadly there are not too many options to deploy the docker containers outright (but the process is very similar to what heroku does to generate their LXC containers)