firefly-iii

by funkypenguin

Helm chartv0.3.0App version-5.6.14Verified publisher

Firefly III: a personal finances manager

About this chart

firefly-iii

Firefly III: a personal finances manager

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.16.0-0

Dependencies

RepositoryNameVersion
https://charts.bitnami.com/bitnamimariadb11.0.2
https://charts.bitnami.com/bitnamipostgresql11.6.12
https://charts.bitnami.com/bitnamiredis16.13.1
https://library-charts.k8s-at-home.comcommon4.5.2

TL;DR

helm repo add geek-cookbook https://geek-cookbook.github.io/charts/
helm repo update
helm install firefly-iii geek-cookbook/firefly-iii

Installing the Chart

To install the chart with the release name firefly-iii

helm install firefly-iii geek-cookbook/firefly-iii

Uninstalling the Chart

To uninstall the firefly-iii deployment

helm uninstall firefly-iii

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install firefly-iii \
  --set env.TZ="America/New York" \
    geek-cookbook/firefly-iii

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install firefly-iii geek-cookbook/firefly-iii -f values.yaml

Custom configuration

N/A

Values

Important: When deploying an application Helm chart you can add more values from our common library chart here

KeyTypeDefaultDescription
cronjobs.recurring.affinityobject{}
cronjobs.recurring.enabledboolfalseEnable cronjob for creating recurring transactions
cronjobs.recurring.failedJobsHistoryLimitint1How many pods to keep around for failed jobs
cronjobs.recurring.image.pullPolicystring"IfNotPresent"
cronjobs.recurring.image.repositorystring"curlimages/curl"
cronjobs.recurring.image.tagstring"7.81.0"
cronjobs.recurring.imagePullSecretslist[]
cronjobs.recurring.nodeSelectorobject{}
cronjobs.recurring.podAnnotationsobject{}
cronjobs.recurring.podSecurityContextobject{}
cronjobs.recurring.resourcesobject{}
cronjobs.recurring.restartPolicystring"OnFailure"How to treat failed jobs
cronjobs.recurring.schedulestring"0 3 * * *"Schedule time in UTC
cronjobs.recurring.securityContextobject{}
cronjobs.recurring.successfulJobsHistoryLimitint3How many pods to keep around for successful jobs
cronjobs.recurring.tolerationslist[]
envobjectSee belowenvironment variables. See image docs for more details.
env.ALLOW_WEBHOOKSboolfalseFirefly III supports webhooks. These are security sensitive and must be enabled manually first.
env.APP_DEBUGboolfalseSet to true if you want to see debug information in error screens.
env.APP_ENVstring"local"You can leave this on "local". If you change it to production most console commands will ask for extra confirmation. Never set it to "testing".
env.APP_KEYstring"SomeRandomStringOf32CharsExactly"Change it to a string of exactly 32 chars or use something like php artisan key:generate to generate it. If you use Docker or similar, you can set this variable from a file by using APP_KEY_FILE
env.APP_LOG_LEVELstring"notice"debug, info, notice, warning, error, critical, alert, emergency If you set it to debug your logs will grow large, and fast. If you set it to emergency probably nothing will get logged, ever.
env.APP_NAMEstring"FireflyIII"Unless you like to tinker and know what you're doing.
env.APP_URLstring"http://localhost"If you have trouble configuring your Firefly III installation, DON'T BOTHER setting this variable. It won't work. It doesn't do ANYTHING. Don't believe the lies you read online. I'm not joking. This configuration value WILL NOT HELP. Notable exception to this rule is Synology, which, according to some users, will use APP_URL to rewrite stuff. This variable is ONLY used in some of the emails Firefly III sends around. Nowhere else. So when configuring anything WEB related this variable doesn't do anything. Nothing If you're stuck I understand you get desperate but look SOMEWHERE ELSE.
env.AUDIT_LOG_LEVELstring"info"Set this to "emergency" if you dont want to store audit logs, leave on info otherwise.
env.AUTHENTICATION_GUARDstring"web"Firefly III authentication settings Firefly III supports a few authentication methods: - 'web' (default, uses built in DB) - 'remote_user_guard' for Authelia etc Read more about these settings in the documentation. https://docs.firefly-iii.org/advanced-installation/authentication LDAP is no longer supported :(
env.AUTHENTICATION_GUARD_HEADERstring"REMOTE_USER"Remote user guard settings
env.COOKIE_PATHstring"/"If you use Docker or similar, you can set COOKIE_DOMAIN_FILE to set the value from a file instead of from an environment variable Setting samesite to "strict" may give you trouble logging in.
env.CUSTOM_LOGOUT_URLstring""Extra authentication settings
env.DB_SOCKETstring""# For other database types, please see the FAQ: https://docs.firefly-iii.org/support/faq # If you use Docker or similar, you can set these variables from a file by appending them with _FILE # Use "pgsql" for PostgreSQL # Use "mysql" for MySQL and MariaDB. # Use "sqlite" for SQLite. DB_CONNECTION=mysql DB_HOST=db DB_PORT=3306 DB_DATABASE=firefly DB_USERNAME=firefly DB_PASSWORD=secret_firefly_password leave empty or omit when not using a socket connection
env.DEFAULT_LANGUAGEstring"en_US"For a list of available languages: https://github.com/firefly-iii/firefly-iii/tree/main/resources/lang If text is still in English, remember that not everything may have been translated.
env.DEFAULT_LOCALEstring"equal"by default this value is the same as whatever the language is.
env.DISABLE_CSP_HEADERboolfalseor any version of Microsoft Edge / Internet Explorer (which amounts to the same thing really) This leaves you with the risk of not being able to stop XSS bugs should they ever surface. This is at your own risk.
env.DISABLE_FRAME_HEADERboolfalseOrganizr. This is at your own risk. Applications running in frames run the risk of leaking information to their parent frame.
env.DKR_BUILD_LOCALEboolfalseUse this at your own risk. Disabling certain checks and features may result in lost of inconsistent data. However if you know what you're doing you can significantly speed up container start times. Set each value to true to enable, or false to disable. Set this to true to build all locales supported by Firefly III. This may take quite some time (several minutes) and is generally not recommended. If you wish to change or alter the list of locales, start your Docker container with docker run -v locale.gen:/etc/locale.gen -e DKR_BUILD_LOCALE=true and make sure your preferred locales are in your own locale.gen.
env.DKR_CHECK_SQLITEbooltrueWon't significantly speed up things.
env.DKR_RUN_MIGRATIONbooltrueand is up to date.
env.DKR_RUN_PASSPORT_INSTALLbooltrueWhen disabled, Firefly III won't attempt to generate OAuth2 Passport keys. This won't be an issue, IFF (if and only if) you had previously generated keys already and they're stored in your database for restoration.
env.DKR_RUN_REPORTbooltrueDisabling this should have no impact on data integrity or safety but it won't warn you of possible issues.
env.DKR_RUN_UPGRADEbooltruewith the latest fixes (outside of migrations!)
env.DKR_RUN_VERIFYbooltrueDisabling this makes Firefly III assume your DB is intact.
env.ENABLE_EXTERNAL_MAPboolfalseof certain things, like transactions. Since this involves an external service, it's optional and disabled by default.
env.FIREFLY_III_LAYOUTstring"v1"Set UI layout version
env.LOG_CHANNELstring"stack"Several other options exist. You can use 'single' for one big fat error log (not recommended). Also available are 'syslog', 'errorlog' and 'stdout' which will log to the system itself. A rotating log option is 'daily', creates 5 files that (surprise) rotate. A cool option is 'papertrail' for cloud logging Default setting 'stack' will log to 'daily' and to 'stdout' at the same time.
env.MAILGUN_DOMAINstring""If you use Docker or similar, you can set these variables from a file by appending them with _FILE
env.MAILGUN_ENDPOINTstring"api.mailgun.net"If you use Docker or similar, you can set this variable from a file by appending it with _FILE
env.MAIL_MAILERstring"log"If you want Firefly III to email you, update these settings For instructions, see this If you use Docker or similar, you can set these variables from a file by appending them with _FILE
env.MYSQL_USE_SSLboolfalseIf you use Docker or similar, you can set these variables from a file by appending them with _FILE
env.PAPERTRAIL_HOSTstring""Used when logging to papertrail:
env.PGSQL_SSL_MODEstring"prefer"If you use Docker or similar, you can set these variables from a file by appending them with _FILE
env.REDIS_SCHEMEstring"tcp"If you use Docker or similar, you can set REDIS_HOST_FILE, REDIS_PASSWORD_FILE or REDIS_PORT_FILE to set the value from a file instead of from an environment variable can be tcp, unix or http
env.SEND_ERROR_MESSAGEbooltrueSend mail on errors.
env.SEND_LOGIN_NEW_IP_WARNINGbooltrueSend mail on logins from new IP.
env.SEND_REGISTRATION_MAILbooltrueSend mail on new registrations.
env.SEND_REPORT_JOURNALSboolfalseSend mail on recurring transactions. These messages contain (sensitive) transaction information:
env.SITE_OWNERstring"[email protected]"If you use Docker or similar, you can set this variable from a file by using SITE_OWNER_FILE
env.STATIC_CRON_TOKENstring""The static cron job token can be useful when you use Docker and wish to manage cron jobs. 1. Set this token to any 32-character value (this is important!). 2. Use this token in the cron URL instead of a user's command line token. For more info: https://docs.firefly-iii.org/firefly-iii/advanced-installation/cron/ You can set this variable from a file by appending it with _FILE
env.TRACKER_SITE_IDstring""Nobody uses this except for me on the demo site. But hey, feel free to use this if you want to. Do not prepend the TRACKER_URL with http:// or https:// The only tracker supported is Matomo. You can set the following variables from a file by appending them with _FILE:
env.TRUSTED_PROXIESstring"**"Set it to ** and reverse proxies work just fine.
env.TZstring"Europe/Amsterdam"Change this value to your preferred time zone. Example: Europe/Amsterdam For a list of supported time zones, see this
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"fireflyiii/core"image repository
image.tagstringnil
importer.affinityobject{}
importer.controllerAnnotationsobject{}
importer.controllerLabelsobject{}
importer.enabledboolfalseDeploy transaction importer
importer.image.pullPolicystring"IfNotPresent"
importer.image.repositorystring"fireflyiii/data-importer"
importer.image.tagstring"version-0.8.0"
importer.imagePullSecretslist[]
importer.nodeSelectorobject{}
importer.podAnnotationsobject{}
importer.podSecurityContextobject{}
importer.resourcesobject{}
importer.securityContextobject{}
importer.specs[0].accessTokenstring""Fill your user's personal access token here
importer.specs[0].importerNamestring"default-importer"
importer.specs[0].portint8080
importer.specs[0].replicaCountint1
importer.specs[0].vanityUrlstring""
importer.tolerationslist[]
ingress.mainobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
mariadbobjectSee values.yamlEnable and configure mariadb subchart under this key. For more options see [mariadb chart documentation](https://github.com/bitnami

Deploy firefly-iii with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has firefly-iii on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartfirefly-iii is pinned at v0.3.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply