bundlewrap/nodes/home/paperless.py
Franziska Kunsmann 79facf2409
All checks were successful
bundlewrap/pipeline/head This commit looks good
nodes/home.paperless: set backup target
2021-05-24 19:19:24 +02:00

65 lines
1.7 KiB
Python

nodes['home.paperless'] = {
'hostname': '172.19.138.29',
'bundles': {
'nfs-client',
'nodejs',
'redis',
'postgresql',
'paperless-ng',
},
'groups': {
'debian-buster',
'webserver',
},
'metadata': {
'interfaces': {
'enp1s0.42': {
'ips': {
'172.19.138.29/24',
},
'gateway4': '172.19.138.1',
},
},
'backup-client': {
'server': '172.19.138.20:22',
},
'nfs-client': {
'mounts': {
'nas_paperless': {
'mountpoint': '/mnt/paperless',
'serverpath': '172.19.138.20:/srv/paperless',
'mount_options': {
'retry=0',
'rw',
},
},
},
},
'nginx': {
'vhosts': {
'paperless': {
'domain': 'paperless.home.kunbox.net',
'ssl': '_.home.kunbox.net',
'proxy': {
'/': {
'target': 'http://127.0.0.1:22070',
'websockets': True,
'proxy_set_header': {
'X-Forwarded-Host': '$server_name',
},
},
},
'extras': True,
},
},
},
'paperless': {
'version': 'ng-1.4.4',
'timezone': 'Europe/Berlin',
},
'vm': {
'cpu': 2,
'ram': 2,
},
},
}