Skip to content

Conversation

@yrkumar
Copy link
Contributor

@yrkumar yrkumar commented Feb 26, 2016

This addresses some parts of #121. More specifically, it adds nginx and docker to supervisor. Exposing the ports of the Tango service in the docker container simply involves adding extra params when running the docker container so that has been added to the suggested deployment documentation.

@yrkumar
Copy link
Contributor Author

yrkumar commented Mar 2, 2016

@nayak16 does this look good to merge?


# Define additional metadata for our image.
VOLUME /var/lib/docker
CMD ["wrapdocker"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed? @yrkumar

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docker ps seems to work inside the docker container even without running this wrapper script so I feel more comfortable leaving it out. It seems to be a wrapper to start docker, which won't work in the Dockerfile anyways since you can only run one command at the end of the Dockerfile to be run in the container.

As an alternative, I can set wrapdocker as the process to start in supervisor instead of Docker itself, which will ensure that wrapdocker runs (and thus will start Docker). Is this preferred?

@nayak16
Copy link
Member

nayak16 commented Mar 16, 2016

Let's merge this. It looks good

@yrkumar
Copy link
Contributor Author

yrkumar commented Mar 17, 2016

Closed by b452d05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants