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

Dockerize ncharts #19

Open
wants to merge 48 commits into
base: develop
Choose a base branch
from
Open

Dockerize ncharts #19

wants to merge 48 commits into from

Conversation

erikj
Copy link
Contributor

@erikj erikj commented Oct 18, 2016

Pull request for review and discussion:

  • dockerizes ncharts by
    • adding configuration to utilize official Python image and support required services via Docker Compose
    • moving hard-coded production paths to environment variables, namespaced w/ NCHARTS_ prefix
  • switch from Apache + mod_wsgi to Nginx + gunicorn, for lighter and easier to debug environment
  • config: docker/
  • documentation: docs/DOCKER.md, docker/README.md
  • demo: http://datavis-dev.eol.ucar.edu:8000/

Resolves #15

erikj added 30 commits October 6, 2016 13:53
… for running ncharts Django application w/ gunicorn; #15
…r than just unix socket, via s/VAR_RUN_DIR/MEMCACHED_LOCATION/; #15
@erikj
Copy link
Contributor Author

erikj commented Oct 18, 2016

This isn't the most atomic pull request, but some of the big advantages that it provides:

  • Moves the Python execution environment out of package management, so we don't have to build and maintain our own Python 3 packages. Staying up to date on security fixes will be much easier.
  • Decouples the web server and the execution environment dependencies by removing mod_wsgi.
  • Makes spinning up a new environment much easier, faster, consistent and reliable.

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

Successfully merging this pull request may close these issues.

nginx?
1 participant