UPD: i like it now.

This commit is contained in:
2019-04-14 00:43:17 +02:00
parent 603c55f88e
commit 42621ace3a
20 changed files with 131 additions and 57 deletions

View File

@@ -3,10 +3,15 @@ ABOUT
Docker container for django-test.
AUTHOR
======
Jens Kleineheismann <heinzel@heinzelwelt.de>
DESCRIPTION
===========
The django-heinzel docker image is derivated from
Fedora image (https://hub.docker.com/_/fedora).
This docker image is derivated from the official Fedora image
(https://hub.docker.com/_/fedora).
It will contain and run
@@ -18,16 +23,18 @@ It will contain and run
BUILD
=====
- ``make``
- ``make test``
or alternatively the *long* way:
- ``git clone https://heinzelwelt.de/vcs/python/django-test src/django-test``
- ``docker build -t IMAGE_NAME .``
- ``docker build -t django-test .``
- ``dgoss run django-test``
USAGE
=====
- ``docker run -d -p 80:80 -e SERVER_ADMIN=heinzel@heinzelwelt.de IMAGE_NAME``
- ``docker run -d -p 80:80 django-test``
The httpd process is listening on port 80/tcp.
@@ -37,16 +44,14 @@ obtained with ``docker logs``
CONFIGURATION
=============
The following **environment variables** are supported:
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
- 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.