familynido/deploy/docker-compose.dev.yml
Pablo Fernández a308041d59 Initial commit
FamilyNido — a self-hosted PWA for a single household: shared calendar,
chores, meals, school agenda, health records and a family wall. One
instance per family, deployable with `docker compose` on any home
server.

Stack: .NET 10 (ASP.NET Core Minimal APIs) + EF Core 10 + PostgreSQL 16
on the backend, Angular 21 (standalone, signals, zoneless) + Tailwind
CSS v4 on the frontend, SignalR for realtime, optional OIDC alongside
local credentials, integration via a versioned `/api/v1/**` public API.

See README.md for the module overview and how to deploy.
2026-05-13 00:23:14 +02:00

31 lines
981 B
YAML

# FamilyNido — development compose stack.
# Brings up PostgreSQL so you can develop the Angular app (ng serve on :4200)
# and the .NET backend (dotnet watch on :5080) against a real database.
#
# Auth in dev is handled by local credentials only (POST /api/auth/local/login)
# — the OIDC code path is for production with PocketID and is hidden in the
# login UI when /api/auth/providers reports oidcEnabled=false.
#
# docker compose -f deploy/docker-compose.dev.yml up -d
services:
db:
image: postgres:16-alpine
container_name: familynido-db-dev
restart: unless-stopped
environment:
POSTGRES_DB: familynido
POSTGRES_USER: familynido
POSTGRES_PASSWORD: familynido
ports:
- "5435:5432"
volumes:
- familynido-db-dev-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U familynido -d familynido"]
interval: 10s
timeout: 5s
retries: 5
volumes:
familynido-db-dev-data: