Skip to content

Conversation

@serjaum
Copy link

@serjaum serjaum commented Dec 31, 2025

Description

Adds Docker Compose configuration to simplify local development and deployment of Wealthfolio. This PR includes a docker-compose.yml file with production and development profiles, along with comprehensive documentation updates.

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Documentation update

Changes Made

Added

  • docker-compose.yml with two service profiles:
    • wealthfolio: Production/default service
    • wealthfolio-dev: Development service with CORS enabled for local Vite dev server
  • Health check configuration for service monitoring
  • Volume configuration for data persistence

Updated

  • README.md: Added "Using Docker Compose" section with:
    • Quick start instructions
    • Development mode setup
    • Useful commands
    • Configuration options
    • Volume information

Features

  • Easy local setup: Run Wealthfolio with a single command
  • Development profile: Pre-configured CORS for local Vite dev server (localhost:1420, localhost:3000)
  • Production ready: Includes health checks and proper volume management
  • Flexible configuration: Supports environment variables via .env file or inline
  • Data persistence: Uses Docker volumes for database and secrets storage

Usage

Production

export WF_SECRET_KEY=$(openssl rand -base64 32)
docker compose up -d

@serjaum serjaum marked this pull request as draft December 31, 2025 13:03
@serjaum serjaum marked this pull request as ready for review December 31, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants