Run Akaunting - Open Source Accounting Software - in Docker

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



Category:
Tutorial
Duration: 2:47
1,264 views
25


#Akaunting #AccountingSoftware #Docker

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

--------------------------------------------------------------------
What is Akaunting?
--------------------------------------------------------------------
Akaunting is a free, open source and online accounting software designed for small businesses and freelancers. - https://github.com/akaunting/akaunting
 
--------------------------------------------------------------------
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 the Akaunting Container
--------------------------------------------------------------------
   01. Now that Docker is installed, run the following commands to setup the Akaunting Docker container and run it
         # create working directories
         mkdir ~/docker/akaunting -p && mkdir ~/docker/mariadb -p
         # download base .env file
         wget -O ~/docker/akaunting/.env https://raw.githubusercontent.com/akaunting/docker/master/env/run.env.example
         # set ownership on the 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=akaunting_rw -e MYSQL_PASSWORD='@k0unt1ng!' -e MYSQL_DATABASE=akaunting -v ~/docker/mariadb:/var/lib/mysql -p 3306:3006 --restart=unless-stopped mariadb:latest
         # edit .env file
         nano ~/docker/akaunting/.env
   02. Edit the values in .env as follows
         APP_URL=http://DNSorIP:8080
         LOCALE=en-US
         DB_HOST=mariadb
         DB_PORT=3306
         DB_NAME=akaunting
         DB_USERNAME=akaunting_rw
         DB_PASSWORD=@k0unt1ng!
         DB_PREFIX=
         COMPANY_NAME=i12bretro
         COMPANY_EMAIL=accounting@i12bretro.local
         ADMIN_EMAIL=i12bretro@i12bretro.local
         ADMIN_PASSWORD=≪% something secure %≫
   03. Press CTRL+O, Enter, CTRL+X to write the changes to .env
   04. Continue with the following steps in the terminal
         # run the akaunting container
         docker run -d --name=akaunting --link mariadb -p 8080:80 --env-file ~/docker/akaunting/.env -e AKAUNTING_SETUP=true -v ~/docker/akaunting:/var/www/html/storage --restart=unless-stopped akaunting/akaunting
   05. Open a web browser and navigate to http://DNSorIP:8080
   06. Login with the Email and Password setup in the .env file
   07. On the Company tab, scroll to the bottom of the form and click Skip this step
   08. Select/add the desired currencies ≫ Click Next
   09. Click Next on the Taxes tab
   10. Click the Create your first invoice link
   11. Welcome to Akaunting
 
Documentation:  https://hub.docker.com/r/akaunting/akaunting
 


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







Tags:
Accounting
Accounting Software
Akaunting
Browser Based
Container
Containerization
Docker
Docker How To
Docker Installation Tutorial
Docker Made Easy
Docker Simplified
Docker Tutorial
Expense Tracker
Expense Tracking
Home Lab
Home Lab Ideas
Homelab
How To
Income Tracking
Install Guide
Invoice
Invoicing Software
Linux
Payment Manager
Self-Hosted
Tutorial
Ubuntu
Web Based
Web Based Tools
i12bretro