Files
docker-django-test/README.rst

53 lines
1.0 KiB
ReStructuredText

ABOUT
=====
Docker container for django-test.
DESCRIPTION
===========
The django-heinzel 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
=====
- ``make``
or alternatively the *long* way:
- ``git clone https://heinzelwelt.de/vcs/python/django-test src/django-test``
- ``docker build -t IMAGE_NAME .``
USAGE
=====
- ``docker run -d -p 80:80 -e SERVER_ADMIN=heinzel@heinzelwelt.de 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 (default: error)
-- to set the httpd LogLevel directive
- SERVER_ADMIN (default: root@localhost)
-- 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.