bundlewrap/nodes/home/paperless.py

57 lines
1.4 KiB
Python

nodes['home.paperless'] = {
'hostname': 'fd90:2017:0:1138::29',
'bundles': {
'nfs-client',
'nodejs',
'redis',
'postgresql',
'paperless-ng',
},
'groups': {
'debian-bookworm',
'webserver',
},
'metadata': {
'interfaces': {
'enp1s0': {
'ips': {
'172.19.138.29/24',
'fd90:2017:0:1138::29/64',
},
'gateway4': '172.19.138.1',
'ipv6_accept_ra': True,
},
},
'nfs-client': {
'mounts': {
'nas_paperless': {
'mountpoint': '/mnt/paperless',
'serverpath': '172.19.138.20:/srv/paperless',
'mount_options': {
'retry=0',
'rw',
},
},
},
},
'nginx': {
'vhosts': {
'paperless': {
'ssl': '_.home.kunbox.net',
},
},
},
'paperless': {
'domain': 'paperless.home.kunbox.net',
'version': 'v2.5.3',
'timezone': 'Europe/Berlin',
},
'postgresql': {
'version': 15,
},
'vm': {
'cpu': 2,
'ram': 2,
},
},
}