1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Run Actual Budget - Open Source Finance Management - in Docker</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Browser Based,Docker Made Easy,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Accounting,Accounting Software,Debian,Expense Tracker,Expense Tracking,Homelab,Income Tracking,Linux,NodeJS,Ubuntu,Docker Container,Docker,Docker How To,Docker Made Simple,Docker Simplified,Docker Tutorial,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Run Actual Budget - Open Source Finance Management - in Docker">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="11/10/2024 03:59:18 PM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Run Actual Budget - Open Source Finance Management - in Docker</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>What is Actual Budget?</h2>
- <blockquote><em>Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -<a href="https://github.com/actualbudget/actual" target="_blank">https://github.com/actualbudget/actual</a></em></blockquote>
- <h2>Installing Docker</h2>
- <ol>
- <li>Log into the Linux based device</li>
- <li>Run the following commands in the terminal
- <div class="codeBlock"># install prerequisites<br />
- sudo apt install apt-transport-https ca-certificates git curl software-properties-common gnupg-agent -y<br />
- # add docker gpg key<br />
- curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -<br />
- # add docker software repository<br />
- 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"<br />
- # install docker<br />
- sudo apt install docker-ce docker-compose containerd.io -y<br />
- # enable and start docker service<br />
- sudo systemctl enable docker && sudo systemctl start docker<br />
- # add the current user to the docker group<br />
- sudo usermod -aG docker $USER<br />
- # reauthenticate for the new group membership to take effect<br />
- su - $USER</div>
- </li>
- </ol>
- <h2>Running Actual</h2>
- <ol>
- <li>Now that Docker is installed, run the following commands to setup the Actual Docker container and run it
- <div class="codeBlock"># create working directories<br />
- mkdir ~/docker/actualbudget/data -p<br />
- # create config.json<br />
- touch ~/docker/actualbudget/config.json<br />
- # write empty config file<br />
- echo "{}" > ~/docker/actualbudget/config.json<br />
- # set owner of working directories<br />
- sudo chown "$USER":"$USER" ~/docker -R<br />
- # allow the container to write to working directories<br />
- sudo chmod a+rwx -R ~/docker/actualbudget<br />
- # run actual budget container<br />
- docker run -d --name actualbudget -p 5006:5006 -v ~/docker/actualbudget/config.json:/app/config.json -v ~/docker/actualbudget/data:/data --restart=unless-stopped actualbudget/actual-server</div>
- </li>
- <li>Open a web browser and navigate to http://DNSorIP:5006</li>
- <li>Click on the Advanced Options link</li>
- <li>Check the "I understand the risks" box > Click Open Actual</li>
- <li>Enter and confirm an admin password</li>
- <li>Click Start Fresh</li>
- <li>Welcome to Actual running in Docker</li>
- </ol>
- <p>Source: <a href="https://actualbudget.org/docs/install/docker/" target="_blank">https://actualbudget.org/docs/install/docker/</a></p> </div>
- </div>
- </body>
- </html>
-
|