58 lines
1.1 KiB
ReStructuredText
58 lines
1.1 KiB
ReStructuredText
ABOUT
|
|
=====
|
|
Docker container for django-test.
|
|
|
|
|
|
AUTHOR
|
|
======
|
|
Jens Kleineheismann <heinzel@heinzelwelt.de>
|
|
|
|
|
|
DESCRIPTION
|
|
===========
|
|
This docker image is derivated from the official Fedora image
|
|
(https://hub.docker.com/_/fedora).
|
|
|
|
It will contain and run
|
|
|
|
- apache httpd
|
|
- python3 mod_wsgi
|
|
- django-test django application
|
|
|
|
|
|
BUILD
|
|
=====
|
|
- ``make``
|
|
- ``make test``
|
|
|
|
or alternatively the *long* way:
|
|
|
|
- ``git clone https://heinzelwelt.de/vcs/python/django-test src/django-test``
|
|
- ``docker build -t django-test .``
|
|
- ``dgoss run django-test``
|
|
|
|
|
|
USAGE
|
|
=====
|
|
- ``docker run -d -p 80:80 django-test``
|
|
|
|
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 and
|
|
can be set with the -e option of the ``docker run`` command:
|
|
|
|
- LOG_LEVEL (default: error)
|
|
-- to set the httpd LogLevel directive
|
|
|
|
|
|
LICENCE
|
|
=======
|
|
Permission to use, copy, modify, and/or distribute this software
|
|
for any purpose with or without fee is hereby granted.
|