openhab web

This commit is contained in:
mwiegand 2021-11-04 22:24:33 +01:00
parent 03378ed638
commit 4abfd5fcbc
3 changed files with 17 additions and 1 deletions

View file

@ -9,7 +9,7 @@ files = {
'influxdb_domain': influxdb_metadata['hostname'], 'influxdb_domain': influxdb_metadata['hostname'],
'influxdb_bucket': influxdb_metadata['bucket'], 'influxdb_bucket': influxdb_metadata['bucket'],
'influxdb_org': influxdb_metadata['org'], 'influxdb_org': influxdb_metadata['org'],
'influxdb_token': influxdb_metadata['admin_token'], 'influxdb_token': influxdb_metadata['writeonly_token'],
}, },
'triggers': [ 'triggers': [
'svc_systemd:stromzaehler:restart' 'svc_systemd:stromzaehler:restart'

View file

@ -4,11 +4,13 @@
'raspberry-pi', 'raspberry-pi',
'debian-11', 'debian-11',
'monitored', 'monitored',
'webserver',
], ],
'bundles': [ 'bundles': [
'zfs', 'zfs',
'openhab', 'openhab',
'java', 'java',
'mirror',
], ],
'metadata': { 'metadata': {
'FIXME_dont_touch_sshd': True, 'FIXME_dont_touch_sshd': True,
@ -21,6 +23,19 @@
'gateway4': '10.0.0.1', 'gateway4': '10.0.0.1',
}, },
}, },
'letsencrypt': {
'delegate_to_node': 'htz.mails',
},
'nginx': {
'vhosts': {
'openhab.ckn.li': {
'content': 'nginx/proxy_pass.conf',
'context': {
'target': 'http://localhost:8080',
},
},
},
},
'java': { 'java': {
'version': 11, 'version': 11,
}, },

View file

@ -132,6 +132,7 @@
'root': { 'root': {
'authorized_users': { 'authorized_users': {
'root@home.server', 'root@home.server',
'root@home.openhab3',
}, },
'authorized_keys': { 'authorized_keys': {
'ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHMKTJLw6Cb+MLt+9JFOkuo2QBpuA8EoTKOFpb3IFQHEq19YLMzOhcErWmzaRfiCnILhnwTQz0njS+n9Qu4aghk= root@mail.sublimity.de' 'ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHMKTJLw6Cb+MLt+9JFOkuo2QBpuA8EoTKOFpb3IFQHEq19YLMzOhcErWmzaRfiCnILhnwTQz0njS+n9Qu4aghk= root@mail.sublimity.de'