Fix ssl path for configurator (#183)

* Update map.py

* Update config.json

* Update Dockerfile
This commit is contained in:
Pascal Vizeli
2017-09-30 21:04:55 +02:00
committed by GitHub
parent 6c84c8bbd9
commit f0b0a69490
3 changed files with 8 additions and 5 deletions

View File

@@ -13,9 +13,12 @@ configurator = {
'BASEPATH': "/config",
'HASS_API': options['homeassistant_api'],
'HASS_API_PASSWORD': options['homeassistant_password'],
'CREDENTIALS': "{}:{}".format(options['username'], options['password']),
'SSL_CERTIFICATE': options['certfile'] if options['ssl'] else None,
'SSL_KEY': options['keyfile'] if options['ssl'] else None,
'CREDENTIALS':
"{}:{}".format(options['username'], options['password']),
'SSL_CERTIFICATE':
"ssl/{}".format(options['certfile']) if options['ssl'] else None,
'SSL_KEY':
"ssl/{}".format(options['keyfile']) if options['ssl'] else None,
'ALLOWED_NETWORKS': options['allowed_networks'],
'BANNED_IPS': options['banned_ips'],
'IGNORE_PATTERN': options['ignore_pattern'],