sfeed.yaml - selfhost - Incus configurations for my self-hosted setup.
(HTM) git clone git://jay.scot/selfhost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
sfeed.yaml (838B)
---
1 devices:
2 feeds:
3 path: /root/.sfeed
4 source: /srv/services/sfeed
5 type: disk
6 shift: true
7
8 staticfeeds:
9 path: /srv
10 source: /srv/services/static/feeds
11 type: disk
12 shift: true
13
14 config:
15 cloud-init.network-config: |
16 version: 2
17 ethernets:
18 eth0:
19 addresses:
20 - 192.168.2.16/24
21 gateway4: 192.168.2.1
22 cloud-init.user-data: |
23 #cloud-config
24 package_upgrade: true
25 hostname: sfeed.jay.scot
26 timezone: Europe/London
27 manage_resolv_conf: true
28 resolv_conf:
29 nameservers: ['192.168.2.10', '1.1.1.1']
30 packages:
31 - sfeed
32 - curl
33 write_files:
34 - path: /etc/periodic/hourly/sfeed.sh
35 permissions: '0755'
36 content: |
37 #!/bin/sh
38
39 sfeed_update
40 sfeed_html /root/.sfeed/feeds/* > /srv/index.html
41