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

updated Django Break supervisor.conf #24

Open
ringofhealth opened this issue May 12, 2017 · 1 comment
Open

updated Django Break supervisor.conf #24

ringofhealth opened this issue May 12, 2017 · 1 comment

Comments

@ringofhealth
Copy link

So with the latest update to django(1.9.x) when building the dock image will actually break the run command for the supervisor command, specifically

command = /usr/bin/gunicorn_django -b127.0.0.1:8000 -w2 graphite/settings.py

where gunicorn_django has been apparently been depricated and is no longer in use. The solution to use is to link gunicorn directorly with wsig, however I am not versed in python or django and cant get that command to run successfully.

How Do i i fix it?

@mathew-bulletin
Copy link

I concur with you... The later version Django is breaking the graphite_docker when the container is being rebuilt from scratch:

After some research on the net, I have found the following article useful...

You would need to look into the followings before rebuilding the container:

  • Create a graphite.wsgi file based on graphite.wsgi.example
  • Include pip install scandir
  • Make minor changes to nginx.conf and supervisord.conf

I hope these help!

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