UPD: so many improvements :)
This commit is contained in:
48
README.rst
Normal file
48
README.rst
Normal file
@@ -0,0 +1,48 @@
|
||||
ABOUT
|
||||
=====
|
||||
Docker container for django-test.
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
===========
|
||||
The docker image is derivated from
|
||||
Fedora image (https://hub.docker.com/_/fedora).
|
||||
|
||||
It will contain and run
|
||||
|
||||
- apache httpd
|
||||
- python3 mod_wsgi
|
||||
- django-test django application
|
||||
|
||||
|
||||
BUILD
|
||||
=====
|
||||
- ``git clone https://heinzelwelt.de/vcs/python/django-test``
|
||||
- ``docker build -t IMAGE_NAME .``
|
||||
|
||||
|
||||
USAGE
|
||||
=====
|
||||
- ``docker run -d -p 80:80 -e LOG_LEVEL=error IMAGE_NAME``
|
||||
|
||||
The httpd process is listening on port 80/tcp.
|
||||
|
||||
The httpd error log will be written to stderr, so it can be
|
||||
obtained with ``docker logs``
|
||||
|
||||
|
||||
CONFIGURATION
|
||||
=============
|
||||
The following **environment variables** are supported:
|
||||
|
||||
- LOG_LEVEL
|
||||
-- to set the httpd LogLevel directive
|
||||
- SERVER_ADMIN
|
||||
-- to set the httpd ServerAdmin directive
|
||||
|
||||
|
||||
LICENCE
|
||||
=======
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted.
|
||||
|
||||
Reference in New Issue
Block a user