You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
templates | 2 years ago | |
.gitignore | 2 years ago | |
.python-version | 2 years ago | |
Makefile | 2 years ago | |
README.md | 1 year ago | |
app.py | 1 year ago | |
local-run.sh | 2 years ago | |
requirements-dev.txt | 2 years ago | |
requirements.txt | 1 year ago |
README.md
Simple OpenShift application
This is a simple OpenShift application for debugging purposes. You can deploy it with the python:3.6 builder and it should work out of the box.
It provides several routes for testing on the index page.
Feel free to send patches.
Configuration
Variable name | Default | Description |
---|---|---|
SERVE_SSL |
off |
Use to tell the app to serve SSL instead of plain text. Check below |
Serving using SSL
There are two ways of enabling SSL on this test application, either with an on-the-fly self-signed certificate provided by werkzeug or by providing the certificates using a secret on a fixed path.
Serving using an on-the-fly certificate
Just set the SERVE_SSL
variable to adhoc
.
Serving using certificates provided by a secret
Set the SERVE_SSL
variable to secret
and mount a secret with a tls.key
and tls.crt
under /tmp/app
.