mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 21:24:20 +01:00
Fix ssl path for configurator (#183)
* Update map.py * Update config.json * Update Dockerfile
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user