dumbbudget
DumbBudget is a simple budgeting app.
Prepare
podman pull docker.io/dumbwareio/dumbbudget:latest
mkdir -p $HOME/apps/{variables,container_data}
touch $HOME/apps/variables/dumbbudget.env
mkdir -p $HOME/apps/container_data/dumbbudget
Edit environment file
Edit the environment file and paste your default values for this service:
Example contents:
DUMBBUDGET_PIN=<4-digit-PIN>
BASE_URL=http://localhost:3000
CURRENCY=EUR
SITE_TITLE='Skynet_Finance'
INSTANCE_NAME=chris
Installation
# dumbbudget.container
[Unit]
Description=DumbBudget
[Container]
ContainerName=dumbbudget
HostName=dumbbudget
AutoUpdate=registry
Image=docker.io/dumbwareio/dumbbudget:latest
Network=skynet.network
EnvironmentFile=/$HOME/apps/variables/dumbbudget.env
Volume=%/apps/container_data/dumbbudget/data:/app/data
[Service]
Restart=always
TimeoutStartSec=300
[Install]
WantedBy=default.target
Configuration of Nginx (Reverse Proxy)
Create nginx conf.
Configuration for nginx conf for port 80.
server {
listen 80;
server_name finance.skynet.lan;
access_log /var/log/nginx/finance_access.log;
error_log /var/log/nginx/finance_error.log;
location / {
proxy_pass http://dumbbudget:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Restart Nginx
Usage
Open http://finance.skynet.lan