Cashlytics is a modern personal finance and budgeting platform that helps you track expenses, manage budgets, and gain insights into your financial behavior. By analyzing transaction data and spending categories, Cashlytics shows you where your money goes and how to improve your financial planning.
The platform can optionally integrate with AI-powered assistance that analyzes your financial data, detects spending patterns, and provides intelligent insights into your budgeting habits.
Self-hosting Cashlytics on your own server gives you full control over your financial data, while allowing you to access your budgeting tools anytime from anywhere via a web interface. Want to self-host Cashlytics? This guide walks you through installing it with Docker on your Linux VPS step by step.
Cashlytics is suitable for many personal and professional scenarios where financial organization and budgeting are important. Typical use cases include:
- Tracking personal expenses and monthly budgets
- Monitoring spending patterns and financial habits
- Managing multiple income sources and financial categories
- Generating AI-powered insights for smarter budgeting
- Hosting a private, self-controlled finance dashboard
Since it is self-hosted, Cashlytics is ideal for users seeking a privacy-focused alternative to cloud-based finance tools.
Before installing Cashlytics, ensure your VPS meets the following requirements.
| Hardware | Minimum | Recommended |
|---|---|---|
| CPU | 1 core | 2 cores |
| RAM | 2 GB | 4 GB |
| Disk space | 10 GB | 20 GB |
Additionally, the following software must be installed:
- Docker
- Docker Compose
If Docker is not yet installed, please follow our installation guide for Docker before proceeding.
First, create a project directory for the Cashlytics installation.
mkdir cashlytics && cd cashlytics
Then download the official Docker configuration files for Cashlytics.
curl -O https://raw.githubusercontent.com/aaronjoeldev/cashlytics-ai/main/docker-compose.selfhost.yml
curl -O https://raw.githubusercontent.com/aaronjoeldev/cashlytics-ai/main/.env.example
Create your environment configuration file by copying the example file.
cp .env.example .env
The .env file contains the configuration variables needed to run Cashlytics.
Open the .env file and adjust the required environment variables.
nano .env
Set a secure password for the PostgreSQL database used by Cashlytics.
POSTGRES_PASSWORD=your_secure_password
Update the database connection string using the same password as above.
DATABASE_URL=postgresql://cashlytics:your_secure_password@postgres:5432/cashlytics
Cashlytics supports an optional AI assistant that analyzes financial data and provides budgeting insights. To enable this feature, add your OpenAI API key.
OPENAI_API_KEY=sk-your-openai-key
If you do not want to use the AI assistant, you can leave this variable empty.
After completing the configuration, start the application with Docker Compose.
docker compose -f docker-compose.selfhost.yml up -d
Docker will now download the required container images and start the Cashlytics services. To check if the containers are running, use the following command:
docker ps
Once the containers have started successfully, you can open the Cashlytics web interface. Launch your browser and go to:
http://YOUR_SERVER_IP:3000
Replace YOUR_SERVER_IP with your VPS’s IP address. Once the interface loads, you can begin configuring your finances, budgets, and categories.
Congratulations! You have successfully installed Cashlytics on your Linux server. You can now use the platform to track expenses, manage budgets, and gain valuable insights into your financial data.
Running Cashlytics on your own VPS or dedicated server ensures your financial information stays under your control while benefiting from modern budgeting tools and optional AI analysis.
If you have any questions or issues, our support team is available daily – just reach out! 🙂