BudgetBuddyDE

Deployment

Self-Hosted (Docker Compose)

You can easily host the backend services (Auth Service, Backend, Database, Cache) yourself using Docker Compose.

Prerequisites

Configuration

Use the docker-compose.yml from the repository.

Running the Stack

  1. Start the services:

    # Start services in detached mode
    docker-compose up -d
  2. The services (and databases) will be available at:

    • Auth Service: http://localhost:8080
    • Backend: http://localhost:9000

The Webapp is currently not included in this Docker Compose setup. You can deploy it separately (e.g., on Vercel) or build a Docker image for it manually.

Railway

BudgetBuddyDE is designed to be easily deployable on Railway.

Deploy on Railway

Instance configuration

It is possible to configure the runtime of a service in the Railway cloud using railway.json files. These are located in the directory of a service or an app. The Railway documentation offers some help regarding the possible configuration options...

Template
{
   "$schema": "https://railway.com/railway.schema.json",
   "build": {
      "builder": "NIXPACKS",
      "buildCommand": "echo building!"
   },
   "deploy": {
      "preDeployCommand": ["npm run db:migrate"],
      "startCommand": "echo starting!",
      "healthcheckPath": "/",
      "healthcheckTimeout": 100,
      "restartPolicyType": "never"
   }
}

On this page