2021-05-23 15:41:19 +00:00
|
|
|
nodes['home.paperless'] = {
|
|
|
|
'hostname': '172.19.138.29',
|
|
|
|
'bundles': {
|
|
|
|
'nfs-client',
|
|
|
|
'nodejs',
|
|
|
|
'redis',
|
|
|
|
'postgresql',
|
|
|
|
'paperless-ng',
|
|
|
|
},
|
|
|
|
'groups': {
|
|
|
|
'debian-buster',
|
|
|
|
'webserver',
|
|
|
|
},
|
|
|
|
'metadata': {
|
|
|
|
'interfaces': {
|
2021-08-22 05:13:32 +00:00
|
|
|
'enp1s0': {
|
2021-05-23 15:41:19 +00:00
|
|
|
'ips': {
|
|
|
|
'172.19.138.29/24',
|
|
|
|
},
|
|
|
|
'gateway4': '172.19.138.1',
|
2022-01-04 14:47:05 +00:00
|
|
|
'ipv6_accept_ra': True,
|
2021-05-23 15:41:19 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
'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',
|
2021-07-04 17:27:12 +00:00
|
|
|
'locations': {
|
2021-05-23 15:41:19 +00:00
|
|
|
'/': {
|
|
|
|
'target': 'http://127.0.0.1:22070',
|
|
|
|
'websockets': True,
|
|
|
|
'proxy_set_header': {
|
|
|
|
'X-Forwarded-Host': '$server_name',
|
|
|
|
},
|
|
|
|
},
|
2021-07-04 17:27:12 +00:00
|
|
|
'/static/': {
|
|
|
|
'alias': '/opt/paperless/static/',
|
|
|
|
},
|
2021-05-23 15:41:19 +00:00
|
|
|
},
|
2021-07-02 13:49:17 +00:00
|
|
|
'max_body_size': '100M',
|
2021-05-23 15:41:19 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'paperless': {
|
|
|
|
'version': 'ng-1.4.4',
|
2021-05-24 08:23:19 +00:00
|
|
|
'timezone': 'Europe/Berlin',
|
|
|
|
},
|
2022-02-27 11:51:53 +00:00
|
|
|
'postgresql': {
|
|
|
|
'version': '11',
|
|
|
|
},
|
2021-05-24 08:23:19 +00:00
|
|
|
'vm': {
|
|
|
|
'cpu': 2,
|
|
|
|
'ram': 2,
|
2021-05-23 15:41:19 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|