Sign inSign up

devoto13/gunicorn

By devoto13

•Updated over 11 years ago

2

124

devoto13/gunicorn repository overview

⁠docker-gunicorn

Docker gunicorn server generic image source. This is based on ubuntu:14.04 image.

⁠Image

You can pull a ready to use image from Docker index⁠ running:

$ docker pull devoto13/gunicorn

Or build this repository:

$ git clone https://github.com/devoto13/docker-gunicorn.git
$ cd docker-gunicorn/
$ docker build -t devoto13/gunicorn .

Change devoto13/gunicorn to your Docker index username.

⁠Container

This image uses volumes and environment variables to control the gunicorn server configuration.

Volumes:

  • /root/app/logs: Logs from the container using it.

You pass with -v docker option. Don't forget to use absolute path here.

Environment variables (defaults are the same as Gunicorn defaults if opposite is not stated explicitly):

You pass with -e docker option.

⁠Usage

Image intended to be used as base image for another Dockerfile. Take a look at the example/ directory.

Tag Summary

No tags have been pushed to this repository yet.