Add WireGuard VPN, kobodl, and calibre-web
WireGuard for private service access (kobodl behind VPN). kobodl downloads and de-DRMs Kobo store purchases. calibre-web serves the library at books.monotrope.au. sync.sh script handles ongoing download + import workflow. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: build serve deploy ssh setup miniflux gitea goatcounter hermes hermes-sync hermes-chat enrich
|
||||
.PHONY: build serve deploy ssh setup miniflux gitea goatcounter hermes hermes-sync hermes-chat enrich wireguard calibre calibre-sync
|
||||
|
||||
# Load .env if it exists
|
||||
-include .env
|
||||
@@ -66,5 +66,17 @@ hermes-chat:
|
||||
ssh -t root@$(MONOTROPE_HOST) docker exec -it hermes hermes chat
|
||||
|
||||
|
||||
wireguard:
|
||||
@test -n "$(MONOTROPE_HOST)" || (echo "Error: MONOTROPE_HOST is not set"; exit 1)
|
||||
ansible-playbook -i "$(MONOTROPE_HOST)," -u root infra/ansible/playbook.yml --tags wireguard
|
||||
|
||||
calibre:
|
||||
@test -n "$(MONOTROPE_HOST)" || (echo "Error: MONOTROPE_HOST is not set"; exit 1)
|
||||
ansible-playbook -i "$(MONOTROPE_HOST)," -u root infra/ansible/playbook.yml --tags calibre
|
||||
|
||||
calibre-sync:
|
||||
@test -n "$(MONOTROPE_HOST)" || (echo "Error: MONOTROPE_HOST is not set"; exit 1)
|
||||
ssh root@$(MONOTROPE_HOST) /opt/calibre/sync.sh
|
||||
|
||||
enrich:
|
||||
uv run enrich.py
|
||||
|
||||
Reference in New Issue
Block a user