-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker #356
Docker #356
Conversation
It would be nice to have a data dump, as outlined in #343, so the Docker container could come with some data and be a better demo. |
I realized that I used an old version of Elasticsearch (0.90.7); I'm going to try to update it to the newest version (1.4.2). |
so no password is necessary
Otherwise you have to anticipate every possible host, which is impossible.
Updated to use Elasticsearch 1.4.2 |
Running everythign in the same docker container doesn't seem like the right approach to me, it seems like you want to use something like fig for this. |
Yeah, it's been a while since I've looked at fig. Maybe I'll look again. I thought that everything in one Docker container would be the simplest thing to get a dev environment going. I definitely wasn't thinking that it would be used in production like this. Though, IIRC, fig also targets dev environments so maybe I should look at it again. |
I'm going to close this, I've started porting Warehouse over to Pyramid to ease the concerns of the custom framework-ish thing I've got going on here. That work is on the pyramid branch inside this repository. As part of that I've set it up so that a development environment can be spun up inside of Docker containers using fig. |
Check out Docker Compose -- it's the next generation of fig. |
Open an issue to look at switching to that please! |
Changes to make it possible to package up a warehouse development environment with Docker. This makes it much easier to get started with Warehouse development, because it bundles PostgreSQL, Redis, Elasticsearch and it has pre-built cffi and such.
I have a pre-built image at https://registry.hub.docker.com/u/msabramo/warehouse/
So one could run warehouse by doing:
docker pull msabramo/warehouse
docker run -i -t -P msabramo/warehouse