feat: add miniflux-archiver service
This commit is contained in:
parent
324fa8425c
commit
34c540c4b2
2 changed files with 43 additions and 0 deletions
|
|
@ -67,6 +67,32 @@ services:
|
|||
constraints:
|
||||
- node.labels.services_kind==${SERVICE_KIND:-common}
|
||||
|
||||
miniflux-archiver:
|
||||
image: git.alecodes.page/alecodes/miniflux-archive:latest
|
||||
restart: unless-stopped
|
||||
command: ["archive", "linkding", "--archive-starred"]
|
||||
|
||||
environment:
|
||||
MFA_MINIFLUX_HOST: http://tasks.miniflux:8080
|
||||
MFA_MINIFLUX_TOKEN: ${MFA_MINIFLUX_TOKEN}
|
||||
MFA_MINIFLUX_FEED_ID: 16
|
||||
|
||||
MFA_SERVICE_HOST: https://bookmarks.alecodes.page
|
||||
MFA_SERVICE_TOKEN: ${MFA_SERVICE_TOKEN}
|
||||
MFA_SERVICE_MAX_REQUEST: 3
|
||||
|
||||
MFA_CRON: "0 */1 * * *"
|
||||
deploy:
|
||||
rollback_config:
|
||||
failure_action: continue
|
||||
update_config:
|
||||
delay: 2s
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.services_kind==${SERVICE_KIND:-common}
|
||||
|
||||
linkding:
|
||||
image: sissbruecker/linkding:latest
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue