Skip to content

fix(docker): add Dockerfile, .dockerignore, and docker-compose setup#6

Open
Srinu346 wants to merge 1 commit intokeploy:mainfrom
Srinu346:fix/quickstart-settings
Open

fix(docker): add Dockerfile, .dockerignore, and docker-compose setup#6
Srinu346 wants to merge 1 commit intokeploy:mainfrom
Srinu346:fix/quickstart-settings

Conversation

@Srinu346
Copy link

@Srinu346 Srinu346 commented Feb 14, 2026

fix(docker): Add complete Docker setup for C# CRUD sample app

Problem

The C# CRUD sample application (used to demonstrate Keploy with .NET and PostgreSQL) previously did not include a proper Docker setup.

Fixes: #3787

The existing docker-compose.yml only defined the PostgreSQL service. As a result, users were required to:

  1. Install the .NET 8 SDK locally.
  2. Run dotnet ef migrations manually.
  3. Start the app using dotnet run.
  4. Configure environment-specific database connection strings.

This led to:

  • Incompatibility with Keploy’s Docker-based recording mode
    (keploy record -c "docker compose up" --container-name crud-app), since the application itself was not containerized.

Solution

This PR introduces a fully containerized setup, allowing the entire stack (application + database) to run using a single command.

Added / Updated

  • Dockerfile
  • docker-compose.yml
  • .dockerignore

How to Run

# Start the full stack
docker compose up

# Start with Keploy recording
keploy record -c "docker compose up" --container-name crud-app

Visual

Screen.Recording.2026-02-14.162904.mp4

Signed-off-by: Akella Srinivas <alsrinivas.346@gmail.com>
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.

C# Docker Quickstart Not Available in Quickstart Filter

1 participant