- 
                Notifications
    
You must be signed in to change notification settings  - Fork 62
 
Add nginx and docker to supervisor with instructions to autostart #123
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
Conversation
running Docker container
| 
           @nayak16 does this look good to merge?  | 
    
| 
               | 
          ||
| # Define additional metadata for our image. | ||
| VOLUME /var/lib/docker | ||
| CMD ["wrapdocker"] | 
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
| 
           Let's merge this. It looks good  | 
    
| 
           Closed by b452d05  | 
    
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.