mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-13 22:54:57 -04:00
Added version metadata into container
This commit is contained in:
parent
d795f5265b
commit
818520730c
4 changed files with 23 additions and 5 deletions
|
@ -60,6 +60,7 @@ def start_kms():
|
|||
pykms_webui_env['PYKMS_SQLITE_DB_PATH'] = db_path
|
||||
pykms_webui_env['PORT'] = '8080'
|
||||
pykms_webui_env['PYKMS_LICENSE_PATH'] = '/LICENSE'
|
||||
pykms_webui_env['PYKMS_VERSION_PATH'] = '/VERSION'
|
||||
pykms_webui_process = subprocess.Popen(['gunicorn', '--log-level', os.environ.get('LOGLEVEL'), 'pykms_WebUI:app'], env=pykms_webui_env)
|
||||
except Exception as e:
|
||||
loggersrv.error("Failed to start webui: %s" % e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue