Skip to content
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

Can we install nginx staff in a standalone container? #3

Open
hbin opened this issue Feb 11, 2015 · 5 comments
Open

Can we install nginx staff in a standalone container? #3

hbin opened this issue Feb 11, 2015 · 5 comments

Comments

@hbin
Copy link

hbin commented Feb 11, 2015

It seem like that you build all the staff in one image. But as the official Best Practices says: Run only one process per container.

@seapy
Copy link
Owner

seapy commented Feb 11, 2015

you're right, i know that. but this docker image(rails-nginx-unicorn-*) help easy to start rails app.

if split nginx, create new Dockerfile(like rails-unicorn) only execute unicorn and link with nginx container.. link strategy is depends on application, currently i don't have good idea. someday i will do that.

thankyou

@itsSaad
Copy link

itsSaad commented Mar 27, 2015

@seapy maybe a docker-compose can be added to manage both containers and also separate db also.
that would be a complete solution i believe.

@seapy
Copy link
Owner

seapy commented Mar 29, 2015

@itsSaad I think the same as you.
but docker compose is not recommend production yet.

@itsSaad
Copy link

itsSaad commented Mar 30, 2015

@seapy do you happen to know what really is wrong with using it in production. Docker guide only tells us not to use in production. why not?

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

No branches or pull requests

4 participants