bundlewrap/nodes/home/octoprint-vielschichtigkeit.py

55 lines
1.6 KiB
Python
Raw Normal View History

nodes['home.octoprint-vielschichtigkeit'] = {
'hostname': '172.19.138.22',
'bundles': {
'nginx',
'octoprint',
},
2020-09-27 14:46:26 +00:00
'groups': {
2020-11-21 09:55:09 +00:00
'debian-buster',
2020-09-27 14:46:26 +00:00
'raspberry',
},
'metadata': {
'interfaces': {
'eth0': {
2020-11-13 17:46:27 +00:00
'ips': {
'172.19.138.22',
},
'dhcp': True,
'mac': 'b8:27:eb:8e:0b:1d',
},
},
2020-11-21 09:55:09 +00:00
'backup-client': {
'server': '172.19.138.20:22',
},
'nginx': {
'vhosts': {
'octoprint': {
'domain': 'vielschichtigkeit.franzi-home.kunbox.net',
'do_not_set_content_security_headers': True,
'extras': True,
'ssl': False,
'proxy': {
'/': {
'target': 'http://[::1]:22030/',
'websockets': True,
'proxy_set_header': {
'X-Real-IP': '$remote_addr',
},
},
},
},
},
},
2020-11-21 19:35:29 +00:00
'octoprint': {
'api_key': vault.decrypt('encrypt$gAAAAABfuWtDp0xeUSNZwi8PzhgxvheK1rdhThlPwZSweXZaUNzDF2BlfOwuMvW-vSxHjTJoyCnxzCAAytIBf0iXgdyeCafvbB43ogBaQK52HAahQNP4506-h02BKgiMdIghUmc1ZOUT'),
},
'raspberrypi': {
'camera': True,
},
'vm': {
'cpu': 4,
'ram': 1,
},
},
}