This guide explains how to run the full application stack locally or in a production-like environment using Docker Compose.

Prerequisites

Make sure the following tools are installed on your system before proceeding:

To check versions:

docker --version
docker compose version

Local Development (docker-compose-dev.yaml)

Use this setup to run the application stack locally with development defaults. It includes:

Start the stack

docker-compose -f docker-compose-dev.yaml up --build

This command will:

  1. Pull the PostgreSQL image and initialize the database.
  2. Build and run the backend service.
  3. Build the frontend app and serve it via Nginx.

Once started: