LubeLogger Documentation

repository·main·Indexed 25 days ago

https://github.com/hargata/lubelog

A self-hosted, open-source web application for tracking vehicle maintenance and fuel mileage. Features include fuel economy tracking in multiple units (MPG, L/100KM, KM/L), maintenance reminders based on odometer or date, CSV import/export with Fuelly support, and collaborator access for shared vehicles. Deployable via Docker, Windows standalone executable, or Kubernetes using Helm.

Tokens
813
Snippets
1
Records
12
Agent score
33%

What's inside LubeLogger

  1. Overview of LubeLogger

    main
    LubeLogger is a self-hosted, open-source, web-based application designed for vehicle maintenance and fuel mileage tracking. It serves as an alternative to manual spreadsheets or paper receipt tracking.
  2. Track fuel economy and gas records

    main

    You can track gas records using various measurement units, including:

    • MPG (Miles Per Gallon)
    • L/100KM (Liters per 100 Kilometers)
    • KM/L (Kilometers per Liter)
    • British use-case: Purchase gas in liters and calculate fuel economy in miles per UK Gallon (imp gal).
  3. Deploy Lubelog using Docker Compose

    main

    To run Lubelog as a containerized service, use the following docker-compose.yml configuration. This setup ensures data persistence for application data and ASP.NET Data Protection keys, and exposes the application on port 8080.

    Persistence Requirements:

    • /App/data: Stores application-specific data.
    • /root/.aspnet/DataProtection-Keys: Stores encryption keys used by ASP.NET for data protection.

    Network Access:

    • The service is accessible via port 8080 on the host.
    services:
      app:
        image: ghcr.io/hargata/lubelogger:latest
        restart: unless-stopped
        volumes:
          - data:/App/data
          - keys:/root/.aspnet/DataProtection-Keys
        ports:
          - 8080:8080
    
    volumes:
      data:
      keys: