This is an old revision of the document!
LubeLogger
LubeLogger is an aSelf-Hosted, Open-Source, Unconventionally-Named Vehicle Maintenance Records and Fuel Mileage Tracker for your cars and vehicles.
Installation
Create a standard user to host the LubeLogger installation, then create a folder under /data/lubelogger to store the needed persistent data:
useradd -d /data/daemons/lubelogger -m lubelogger mkdir /data/lubelogger chown lubelogger:lubelogger /data/lubelogger
Now, create the following docker-compose.yml as user lubelogger:
Choose an available port, of course!
Now pull it:
podman compose pull
Reverse Proxy
Running LubeLogger behind NGINX is easy, this is an example:
- lubelogger.conf
location = /lubelogger { return 301 https://$host/lubelogger/; } location /lubelogger/ { proxy_pass http://127.0.0.1:8485; }
I choose to run it on my home subdomain, already protected behind by Authelia SSO. See SSO and The Reverse Proxy concept.
Running
To start it, and set it up on boot, as usual follow my indications Using Containers on Gentoo, so link the user-containers init script:
ln -s /etc/init.d/user-containers /etc/init.d/user-containers.lubelogger
and create the following config file:
- /etc/conf.d/user-containers.lubelogger
USER=grist DESCRIPTION="Track your can maintenance"
Add the service to the default runlevel and start it now:
rc-update add user-containers.lubelogger default rc-service user-containers.lubelogger start