Skip to content

fix(persistence): mount /work, not /work/mappings; add .NET Aspire section#4

Merged
omercelikdev merged 1 commit into
mainfrom
fix/persist-work-volume
Jul 26, 2026
Merged

fix(persistence): mount /work, not /work/mappings; add .NET Aspire section#4
omercelikdev merged 1 commit into
mainfrom
fix/persist-work-volume

Conversation

@omercelikdev

Copy link
Copy Markdown
Owner

Docs counterpart of omercelikdev/mockifyr#182 (fixes omercelikdev/mockifyr#181).

  • Named-volume examples on getting-started and persistence now mount /work — a mappings-only mount silently loses environment configuration, __files/ and gRPC descriptors on container recreation.
  • New caution box + compose volume-with-bind-overlay shape on the persistence page.
  • New .NET Aspire subsection: WithVolume("mockifyr-data", "/work") + optional persistent lifetime — the exact scenario from the issue.

Verified against the published image: mappings-only mount loses the environment key after recreate; /work mount (plain and volume+bind overlay) keeps stub + environment.

🤖 Generated with Claude Code

…ction

A mappings-only mount silently loses environment configuration, __files
and gRPC descriptors on container recreation (mockifyr#181). Point every
named-volume example at /work, add a caution, document the compose
volume+bind-overlay shape, and add an Aspire example with WithVolume and
persistent lifetime.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
mockifyr 35c5c7d Jul 26 2026, 12:35 AM

@omercelikdev
omercelikdev merged commit 3eeec1e into main Jul 26, 2026
1 check passed
@omercelikdev
omercelikdev deleted the fix/persist-work-volume branch July 26, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mockifyr stub reset

1 participant