From b1d1953a62892360a86596b11551b6872bee75cd Mon Sep 17 00:00:00 2001 From: tleininger Date: Wed, 23 Sep 2026 10:03:16 +0200 Subject: [PATCH] Run PocketBase as a compose stack, tests included, without Testcontainers --- .dockerignore | 9 +- .run/DevEnvironment.run.xml | 4 +- CLAUDE.md | 3 +- Directory.Packages.props | 1 - .../Elternbeirat.Web.Tests.csproj | 1 - .../PocketBaseClientTests.cs | 2 + Elternbeirat.Web.Tests/PocketBaseFixture.cs | 123 +++++++++++++---- compose.dev.yaml | 2 + compose.test.yaml | 23 ++++ compose.yaml | 7 +- docs/deployment.md | 82 ++++------- docs/entwicklung.md | 102 ++++++++++++++ docs/inhalte-pflegen.md | 129 ------------------ docs/redaktion.md | 122 +++++++++++++++++ 14 files changed, 393 insertions(+), 217 deletions(-) create mode 100644 compose.test.yaml create mode 100644 docs/entwicklung.md delete mode 100644 docs/inhalte-pflegen.md create mode 100644 docs/redaktion.md diff --git a/.dockerignore b/.dockerignore index 444d3cb..b7ee487 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,14 +1,14 @@ -# Build-Ausgaben (werden im Container frisch erzeugt) +# Build outputs (regenerated fresh inside the container) **/bin/ **/obj/ **/out/ -# IDE- und Tooling-Kram +# IDE and tooling files .vs/ .idea/ .vscode/ -# Versionskontrolle und Doku, im Image nicht benoetigt +# Version control and docs, not needed in the image .git/ .gitea/ .gitignore @@ -16,8 +16,9 @@ docs/ *.md -# Docker-Dateien selbst +# The Docker files themselves Dockerfile .dockerignore compose.yaml compose.dev.yaml +compose.test.yaml diff --git a/.run/DevEnvironment.run.xml b/.run/DevEnvironment.run.xml index f19183d..713b9be 100644 --- a/.run/DevEnvironment.run.xml +++ b/.run/DevEnvironment.run.xml @@ -4,9 +4,7 @@