Levelrail
Skip to content

Self-host Firefly III with Docker ​

A self-hosted personal finance manager for tracking budgets, bills, and spending.

This page describes the Levelrail template for Firefly III (Finance). It deploys the services below as one Docker Compose app on your own server.

Project site: https://docs.firefly-iii.org.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbmariadb:11none
firefly_db_data -> /var/lib/mysql
fireflyfireflyiii/core:version-6.2.38080
firefly_upload_data -> /var/www/html/storage/upload

Environment variables ​

ServiceVariableValue
dbMYSQL_DATABASEPreset in the template
dbMYSQL_PASSWORDGenerated at deploy
dbMYSQL_ROOT_PASSWORDGenerated at deploy
dbMYSQL_USERPreset in the template
fireflyAPP_KEYGenerated at deploy
fireflyAPP_URLPreset in the template
fireflyDB_CONNECTIONPreset in the template
fireflyDB_DATABASEPreset in the template
fireflyDB_HOSTPreset in the template
fireflyDB_PASSWORDGenerated at deploy
fireflyDB_USERNAMEPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Firefly III with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Firefly III. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy firefly-iii --name my-firefly-iii

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Finance templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.