Add Docker and Docker Compose support for fasthttp-postgres quickstart #191
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds Docker and Docker Compose support for the
fasthttp-postgresquickstart, allowing it to be run with a single command.Problem
Previously, running the fasthttp-postgres quickstart required:
This made onboarding and testing the sample unnecessarily complex.
Solution
This PR containerizes both the application and the database using Docker and Docker Compose, enabling a fully reproducible and beginner-friendly setup.
Changes
database/sqlHow to Run
###Access
Verification
Built and ran the setup using docker compose up --build
Verified PostgreSQL initialization and migrations
Confirmed successful database connection from the application
Verified application startup without runtime errors
Notes
The application connects to PostgreSQL using the Docker service name
No manual database setup is required
Changes are limited to the quickstart and do not affect existing functionality
Fixes: keploy/keploy#3405
Screenshot:
