Make docker-compose.yml for setup and docs development friendly

This enables easy local running.
Actual deployment files are moved to github.com/mailu/infra.
This commit is contained in:
Tim Möhlmann
2019-01-16 20:50:52 +02:00
parent 6dea8b422a
commit 1975534125
3 changed files with 14 additions and 66 deletions

View File

@@ -11,7 +11,7 @@ import ipaddress
import hashlib
version = os.getenv("this_version")
version = os.getenv("this_version", "master")
static_url_path = "/" + version + "/static"
app = flask.Flask(__name__, static_url_path=static_url_path)
flask_bootstrap.Bootstrap(app)