Running Firefly III - Personal Finance Manager - in Docker

Channel:
Subscribers:
14,500
Published on ● Video Link: https://www.youtube.com/watch?v=_f-ECIkeLik



Duration: 1:26
1,227 views
18


#FireflyIII #FinanceManager #Docker

Full steps can be found at https://i12bretro.github.io/tutorials/0776.html

--------------------------------------------------------------------
What is Firefly III?
--------------------------------------------------------------------
"Firefly III" is a (self-hosted) manager for your personal finances. It can help you keep track of your expenses and income, so you can spend less and save more. - https://docs.firefly-iii.org/firefly-iii/installation/self_hosted/?mtm_campaign=docu-internal&mtm_kwd=self_hosted
 
--------------------------------------------------------------------
Installing Docker
--------------------------------------------------------------------
   01. Log into the Linux based device
   02. Run the following commands in the terminal
         # install prerequisites
         sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
         # add docker gpg key
         curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
         # add docker software repository
         sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
         # install docker
         sudo apt install docker-ce docker-compose containerd.io -y
         # enable and start docker service
         sudo systemctl enable docker && sudo systemctl start docker
         # add the current user to the docker group
         sudo usermod -aG docker $USER
         # reauthenticate for the new group membership to take effect
         su - $USER
 
--------------------------------------------------------------------
Running Firefly III
--------------------------------------------------------------------
   01. Continue with the following commands in a terminal window
         # create a working directory
         mkdir ~/docker/firefly -p && mkdir ~/docker/mariadb -p
         # set owner of working directories
         sudo chown "$USER":"$USER" ~/docker -R
         # run the mariadb docker container
         docker run -d --name mariadb -e MYSQL_ROOT_PASSWORD=r00tp@$$ -e MYSQL_USER=firefly_rw -e MYSQL_PASSWORD='f!r3f1y:)' -e MYSQL_DATABASE=firefly_db -v ~/docker/mariadb:/var/lib/mysql -p 3306:3006 -d mariadb:latest
         # generate a 32 character random string
         randomized=$(head /dev/urandom | LC_ALL=C tr -dc 'A-Za-z0-9' | head -c 32)
         # start the firefly container
         docker run -d --name firefly --link mariadb -v ~/docker/firefly:/var/www/html/storage/upload -p 8090:8080 -e APP_KEY=$randomized -e DB_HOST=mariadb -e DB_PORT=3306 -e DB_CONNECTION=mysql -e DB_DATABASE=firefly_db -e DB_USERNAME=firefly_rw -e DB_PASSWORD='f!r3f1y:)' fireflyiii/core
   02. Open a web browser and navigate to http://DNSorIP:8090
   03. Enter an email address and password ≫ Click Register
   04. Welcome to Firefly III
 
Documentation:  https://hub.docker.com/r/fireflyiii/core
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Browser Based
Container
Containerization
Docker
Docker Host
Docker Made Easy
Docker Made Simple
FOSS
FireFly III
Free Open Source Software
Free Software
Home Lab
Home Lab Ideas
How To
Install Guide
Linux
MariaDB
Open Source Software
Personal Accounting
Personal Finance Manager
Personal Finances
Self-Hosted
Tutorial
Web Based
Web Based Tools
i12bretro