bundlewrap/nodes/sophie/paperless.py

70 lines
1.7 KiB
Python
Raw Normal View History

2024-06-08 16:46:51 +00:00
nodes['sophie.paperless'] = {
'hostname': '172.19.138.30',
'bundles': {
'nfs-client',
'nodejs',
'redis',
'postgresql',
'paperless-ng',
},
'groups': {
'debian-buster',
'webserver',
},
'metadata': {
'backups': {
'exclude_from_backups': True,
},
'icinga_options': {
'exclude_from_monitoring': True,
},
'interfaces': {
'enp1s0': {
'ips': {
'172.19.138.30/24',
},
'gateway4': '172.19.138.1',
},
},
'nfs-client': {
'mounts': {
'nas_paperless': {
'mountpoint': '/mnt/paperless',
'serverpath': '172.19.138.98:/mnt/paperless',
'mount_options': {
'retry=0',
'rw',
},
},
'nas_scansnap': {
'mountpoint': '/mnt/scansnap',
'serverpath': '172.19.138.20:/srv/scansnap',
'mount_options': {
'retry=0',
'rw',
},
},
},
},
'nginx': {
'vhosts': {
'paperless': {
'ssl': '_.home.kunbox.net',
},
},
},
'paperless': {
'domain': 'paperless-sophie.home.kunbox.net',
'version': 'ng-1.4.4',
'timezone': 'Europe/Berlin',
},
'postgresql': {
'version': '11',
},
'vm': {
'cpu': 2,
'ram': 2,
},
},
}