Alternative frontend for munin written in Django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 616B

1234567891011121314151617181920212223242526
  1. FROM python:2.7
  2. MAINTAINER Johann Schmitz
  3. RUN apt-get update -y && apt-get upgrade -y && \
  4. apt-get install nginx supervisor rrdtool -y
  5. RUN mkdir -p /code
  6. WORKDIR /code
  7. EXPOSE 8080
  8. ADD . /code/app
  9. WORKDIR /code/app
  10. RUN chown nobody:nogroup /code -R && python -m compileall /code/app
  11. # installing gunicorn via pip3 installs the python3 version
  12. RUN pip install -r requirements.txt && \
  13. pip install mysqlclient gunicorn
  14. COPY docker/nginx.conf /etc/nginx/conf.d/
  15. COPY docker/supervisord.conf /etc/supervisord.conf
  16. ENV DJANGO_SETTINGS_MODULE docker_settings
  17. CMD /usr/bin/supervisord -c /etc/supervisord.conf -n