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:
|
constraints:
|
||||||
- node.labels.services_kind==${SERVICE_KIND:-common}
|
- 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:
|
linkding:
|
||||||
image: sissbruecker/linkding:latest
|
image: sissbruecker/linkding:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
||||||
|
|
@ -53,3 +53,20 @@ LD_OIDC_CLIENT_SECRET: !vault |
|
||||||
37306462336534393436373836656137663566623031646165376262633535383462373663363166
|
37306462336534393436373836656137663566623031646165376262633535383462373663363166
|
||||||
31366234373764373031373161653736383336613336646631333562333864663639653263333762
|
31366234373764373031373161653736383336613336646631333562333864663639653263333762
|
||||||
61343031656664636431
|
61343031656664636431
|
||||||
|
|
||||||
|
MFA_MINIFLUX_TOKEN: !vault |
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
31313436616136653564663265663939303936386462393731373461323363323938316238343962
|
||||||
|
3930313531363864366365643664313738633836386331640a323230626463646465303262383035
|
||||||
|
65643734666664356264346662643835306661396266656463663636333463343135376438313238
|
||||||
|
3965373235386431370a393338333835636333616532663032363231396334313734393964653066
|
||||||
|
36613561343937666235306336623637373336343265633461303333336637633762333966663533
|
||||||
|
3164643638646663653866383332613162353364336235613738
|
||||||
|
MFA_SERVICE_TOKEN: !vault |
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
63353036346533393535313237303463323539383938346637313661353063356464323566626462
|
||||||
|
3535383561363231346231303863313361353636313232620a326266373866323162663265333134
|
||||||
|
63623030303765626630373032306238366430383366356461363765643264366466656565633132
|
||||||
|
3562333631613562610a383430613031383465646333663163333162653938333666363862393261
|
||||||
|
66343461316336376139396630646232346432303534343539653137343534656466303365363863
|
||||||
|
6566393234373136303232383533653630366338366561323336
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue