Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Firefly III setup with Lando

Steps to run Firefly III with Lando

  1. Install Lando
  2. Create new folder: mkdir [name] and go to this directory cd [name]
  3. Create Lando config file: (vim .lando.yml) and paste content below and save:
name: firefly
recipe: lamp
config:
  php: '7.3'
  webroot: firefly/public
  xdebug: false
  database: postgres
tooling:
  artisan:
    service: appserver
    description: artisan command
    cmd: php /app/firefly/artisan
  init-firefly:
    service: appserver
    description: setup firefly
    cmd: composer create-project grumpydictator/firefly-iii --no-dev --prefer-dist firefly 5.0.3
services:
  appserver:
    build_as_root:
      - apt-get update -y
      - apt-get install locales locales-all -y
  1. Start Lando lando start
  2. Setup Firefly application with lando init-firefly
  3. Setup up Firefly database access by editing firefly/.env.
DB_CONNECTION=pgsql
DB_HOST=database
DB_PORT=5432
DB_DATABASE=lamp
DB_USERNAME=postgres
DB_PASSWORD=
  1. Initialize the database
lando artisan migrate:refresh --seed
lando artisan firefly-iii:upgrade-database
lando artisan passport:install
  1. That's it. Go to http://firefly.lndo.site/public/

SOME TIPS:

Depending on your setup: hosts file might need update to resolve firefly.lndo.site address

Firefly version is set in .lando.yml. Current stable is 5.0.3 so search for it to change/update

You can access database via lando psql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment