Merge pull request #465 from phracek/more_outputs_correct_return_states
Add support for OpenShift 3
This commit is contained in:
parent
3402cd789a
commit
50eeefac49
23 changed files with 407 additions and 23 deletions
13
README.md
13
README.md
|
|
@ -260,12 +260,18 @@ file inside your source code repository.
|
|||
the custom index, the container will try to install/update them from
|
||||
upstream PyPI afterwards.
|
||||
|
||||
* **PORT**
|
||||
|
||||
HTTP(S) port your application should listen on. The default is 8080.
|
||||
`PORT` is used only for Django development server and for Gunicorn
|
||||
with the default configutation (no `APP_CONFIG` or `GUNICORN_CMD_ARGS` specified).
|
||||
|
||||
* **UPGRADE_PIP_TO_LATEST**
|
||||
|
||||
Set this variable to a non-empty value to have the 'pip' program and related
|
||||
python packages (setuptools and wheel) be upgraded to the most recent version
|
||||
before any Python packages are installed. If not set it will use whatever
|
||||
the default version is included by the platform for the Python version being used.
|
||||
before any Python packages are installed. If not set, the container will use
|
||||
the stable pip version this container was built with, taken from a recent Fedora release.
|
||||
|
||||
* **WEB_CONCURRENCY**
|
||||
|
||||
|
|
@ -323,6 +329,9 @@ following ways, in precedence order:
|
|||
If you have both Django and Gunicorn in your requirements, your Django project
|
||||
will automatically be served using Gunicorn.
|
||||
|
||||
The default setting for Gunicorn (`--bind=0.0.0.0:$PORT --access-logfile=-`) is applied
|
||||
only if both `$APP_CONFIG` and `$GUNICORN_CMD_ARGS` are not defined.
|
||||
|
||||
* **Django development server**
|
||||
|
||||
If you have Django in your requirements but don't have Gunicorn, then your
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue