Files needed to run Firefly III in Kubernetes (minikube) on macOS BigSur
- mysql.yaml, to create a MySQL database.
- firefly-iii.yaml, to run Firefly III.
- kustomization.yaml, containing references to both and the necessary secrets.
- firefly-iii-csv.yaml, csv importer (not launched, not tested)
- phpmyadmin.yaml, phpMyAdmin admin panel.
- loginFirefly, used to login into Firefly contanier for debugging purposes.
- connectFF, open default web browser into Firefly.
- connectPHP, open default web browser into phpMyAdmin.
Please, refer to minikube web page for instructions on how to get minikube running on macOS
https://minikube.sigs.k8s.io/docs/start/
To automate database backups the following file (crey is me, feel free to change it)
com.crey.fireflyiibackup.plist
needs to be added to
$HOME/Library/LaunchAgents
and then load it with
launchctl load com.crey.fireflyiibackup.plist
Usually, it should start automatically on system reboot. <== I need to work more on this. It does not work at system reboot.
Log files for this script are in /tmp/fireflyiii.err and /tmp/fireflyiii.out
interval is set in seconds in StartInterval.
copyDB.sh sends a notification via mail. You should configure your postfix accordingly. I used this:
https://www.developerfiles.com/how-to-send-emails-from-localhost-mac-os-x-el-capitan/