pandastrike / huxley

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

Gather Requirements for Deploying Redis with the Huxley API #87

Closed freeformflow closed 9 years ago

freeformflow commented 9 years ago

This is related to #86. Please gather requirements for deploying a Docker container running Redis as part of the Huxley API. The relevant files should be added to the huxley-api directory.

It is perfectly acceptable if the Alpha 04 deployment requires manual interaction. But, as part of our long term goals, we want to be able to automate the deployment of the Huxley API server, ideally with Huxley, which is deployment Inception, haha.

PandaWhisperer commented 9 years ago

I looks like we already have a Dockerfile for Redis huxley-cli: https://github.com/pandastrike/huxley/blob/master/huxley-cli/templates/redis/Dockerfile

Looks like it's based on https://github.com/dockerfile/redis. I'm going to test it and tag it as pandastrike/redis or huxley/redis so we reuse it easily.

freeformflow commented 9 years ago

One more requirement... We'd like to enable persistent storage with our Redis container. Even though Redis is running in a Docker container, we'd like to store data to a disk that persists after the container is spun-down. This will be necessary to save data between deployments.

PandaWhisperer commented 9 years ago

Alright. I updated said Dockerfile (and the template) with a working version based on Arch Linux. As soon as @dyoder adds me to our organization on Docker Hub, I'm going to publish that container.

The installation instructions will be pulling that image from Docker Hub and running it.

PandaWhisperer commented 9 years ago

Instructions for installing a containerized version of Huxley using Docker have been added to the Wiki: https://github.com/pandastrike/huxley/wiki/Huxley-API-Guide#using-docker

Still pending: upload images to Docker Hub. Still waiting for @dyoder to add me to our organization.

PandaWhisperer commented 9 years ago

In the meantime, I'll add instructions for building the containers manually.

PandaWhisperer commented 9 years ago

Alright, Wiki now contains information on building the docker images.

PandaWhisperer commented 9 years ago

This should have probably gone into the comments for #92