You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3964cbb
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CLAUDE.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,25 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
14
14
15
15
Modular monolith framework for .NET with compile-time module discovery via Roslyn source generators. Frontend uses React 19 + Inertia.js served via a static HTML shell.
16
16
17
+
## Local database (shared dev-services stack)
18
+
19
+
**Do NOT start your own Postgres container.** All repos in `~/Repos` share one
20
+
stack defined in `~/Repos/dev-services` (one PostGIS + Redis + MinIO + Adminer on
21
+
the `devnet` Docker network). Start it once with `make up` there.
22
+
23
+
- Local dev defaults to **SQLite** (`app.db`), so Postgres is optional here.
24
+
- To use Postgres, point the app at the shared server: `localhost:5432`,
25
+
`postgres`/`postgres`, database **`simplemodule`** (already created by the
26
+
shared stack's init SQL).
27
+
- This repo's own `docker-compose.yml` starts a `postgres:17` container (db
28
+
`simplemodule`, creds `simplemodule`/`simplemodule`). Prefer the shared stack
29
+
and skip it — running both conflicts on port 5432. Running via the Aspire
30
+
AppHost also provisions its own Postgres (`simplemoduledb`); that's a separate
31
+
path from the shared stack.
32
+
33
+
If 5432 is taken by an old per-project container, stop that container rather than
34
+
remapping ports. To add a database, edit `dev-services/init/01-databases.sql`.
0 commit comments