Skip to content

Docker Compose stack to run the full TaskManagement app locally (client + API + auth + Caddy + PostgreSQL).

Notifications You must be signed in to change notification settings

Diogo-Ferraz/TaskManagementStack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaskManagementStack

Orchestration repo for running the full Task Management stack with one command.

This repo is intentionally separate from:

  • TaskManagementServer (backend source)
  • TaskManagementClient (frontend source)

What this runs

  • PostgreSQL
  • Auth service (.NET / OpenIddict)
  • API service (.NET)
  • Angular SPA client
  • Caddy reverse proxy (single HTTPS entrypoint)

Hostnames

Prerequisites

  • Docker Desktop (or Docker Engine + Compose plugin)
  • Ports 80 and 443 available

Quick start

  1. Copy env file:
cp .env.example .env
  1. Update image tags in .env if you want to pin a specific version.

  2. Start stack:

docker compose up -d --pull always
  1. Trust Caddy local certificate (one-time setup):

macOS:

./scripts/setup-local-trust.sh

Windows (PowerShell as Administrator):

./scripts/setup-local-trust.ps1
  1. Open https://app.localhost

  2. Login with one of the default users:

  • demo-admin@example.com
  • demo-manager@example.com
  • demo-user@example.com

Password is DEMO_PASSWORD from your .env.

Architecture Notes

  • Services are independent containers connected through Docker network.
  • Caddy acts as the only edge reverse proxy.
  • SPA uses OpenID Connect Authorization Code + PKCE via auth service.
  • API is protected and validated against OpenIddict issuer.

Recommended release flow

  • Frontend repo CI builds and pushes taskmanagement-client image.
  • Backend repo CI builds and pushes taskmanagement-api and taskmanagement-auth images.
  • This stack repo only updates image tags for release versions.

Troubleshooting

  • If *.localhost cert trust warning appears, run:

macOS:

./scripts/setup-local-trust.sh

Windows (PowerShell as Administrator):

./scripts/setup-local-trust.ps1
  • Check status:
docker compose ps
  • Inspect logs:
docker compose logs -f caddy auth-service api-service client

About

Docker Compose stack to run the full TaskManagement app locally (client + API + auth + Caddy + PostgreSQL).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors