any.software.miniflux-podman: added role
This commit is contained in:
parent
adb96c3028
commit
74cf571e05
10 changed files with 204 additions and 25 deletions
|
|
@ -0,0 +1,14 @@
|
|||
# vim: ft=systemd
|
||||
[Unit]
|
||||
Requires=miniflux-postgres.service
|
||||
|
||||
[Container]
|
||||
Image=docker.io/miniflux/miniflux:2.2.7
|
||||
EnvironmentFile=/etc/miniflux/miniflux.env
|
||||
Pod=miniflux.pod
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
nws.roosens.me {
|
||||
reverse_proxy localhost:8002 {
|
||||
header_down +X-Robots-Tag "none"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
cd /etc/miniflux
|
||||
|
||||
/usr/bin/docker compose exec -T db pg_dump -U miniflux miniflux |
|
||||
/usr/bin/gzip --rsyncable |
|
||||
/usr/local/bin/restic backup --stdin --stdin-filename miniflux-postgres.sql.gz
|
||||
3
roles/any.software.miniflux-podman/files/miniflux.pod
Normal file
3
roles/any.software.miniflux-podman/files/miniflux.pod
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# vim: ft=systemd
|
||||
[Pod]
|
||||
PublishPort=127.0.0.1:8002:8080
|
||||
Loading…
Add table
Add a link
Reference in a new issue