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

Please add example of how to use this in combination with pgbouncer buildpack #38

Open
diwu1989 opened this issue Sep 12, 2014 · 2 comments

Comments

@diwu1989
Copy link

I'm having trouble getting this buildpack to work in combination with the pgbouncer buildpack.

Can you add a section in the readme to demonstrate how to make that combo to work?

@diwu1989
Copy link
Author

One thing that I did to get gunicorn to work well with the buildpack is I used the --pid feature to write the app-initialized file after gunicorn starts.

@a-warner
Copy link
Contributor

@diwu1989 here's what I ended up doing to couple the pgbounder/nginx buildpacks w/thin

bin/start-pgbouncer-stunnel bin/start-nginx bundle exec thin --environment $RAILS_ENV --socket /tmp/nginx.socket --rackup config.ru start

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

No branches or pull requests

2 participants