bundlewrap/nodes/home/octoprint-vielschichtigkeit.py
Franziska Kunsmann 7ea85247e0
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/nginx: proxy is a dict now, add some more configuration options
2020-09-22 18:39:38 +02:00

48 lines
1.3 KiB
Python

nodes['home.octoprint-vielschichtigkeit'] = {
'hostname': '172.19.138.22',
'bundles': {
'nginx',
'octoprint',
},
'groups': set(),
'metadata': {
'interfaces': {
'eth0': {
'ipv4': {
'172.19.138.22',
},
'dhcp': True,
'mac': 'b8:27:eb:8e:0b:1d',
},
},
'nginx': {
'use_ssl_for_all_connections': False,
'vhosts': {
'vielschichtigkeit.franzi-home.kunbox.net': {
'do_not_set_content_security_headers': True,
'proxy': {
'/': {
'target': 'http://[::1]:22030/',
'websockets': True,
'proxy_set_header': {
'X-Real-IP': '$remote_addr',
},
},
},
},
},
},
'users': {
'pi': {
'delete': True,
},
},
'vm': {
'cpu': 4,
'ram': 1,
},
},
# This is a raspberry pi, but raspbian 64bit is plain debian.
'os': 'debian',
'os_version': (10, 5),
}