pandastrike / huxley

API and CLI for Docker Deployment
9 stars 1 forks source link

Setup the Huxley API for Manual Docker Container Deployment #92

Closed freeformflow closed 9 years ago

freeformflow commented 9 years ago

Since we are transitioning to use of Redis with the Huxley API for message queueing and DB function, we should move to a Dockerized deployment. Please prepare containers for the Huxley API and its Redis companion.

Even though the eventual goal is the automated deployment of the Huxley API, for now please just focus on a manual Dockerized deployment. Please include any additional instructions in the API server wiki section.

PandaWhisperer commented 9 years ago

Got a basic Dockerfile ready to go. The main problem is connecting the ssh-agent.

Found these instructions and will try them out.

PandaWhisperer commented 9 years ago

Alright. Just verified with @PandaPup that mapping the local agent into the container isn't actually necessary.

I figured out how to link to containers together for networking purposes. Will update the wiki with instructions.

PandaWhisperer commented 9 years ago

Alright. Wiki is updated. Just one thing left to do: when using Docker, mutual needs to be pointed to the correct hostname instead of localhost. In other words, we'll need add an extra step to the setup.

OR

We could add this step to the Dockerfile, meaning that every Docker image we produce would be properly preconfigured. I think I like the latter more.

PandaWhisperer commented 9 years ago

Alright, I implemented the latter. Will add a PR now.

PandaWhisperer commented 9 years ago

Okay, I'm all set up to push docker images to the hub. As soon as we wrap up our release, I can put them live.