Summary
The docker-compose.yml sets MONGO_URI=mongodb://my_db:***@my_db:27017/.
3. Use the official mongo image (not an empty custom Dockerfile) so init env vars are respected.
4. Document the setup steps in README.
Acceptance Criteria
Complexity Estimate
S — requires adding env vars to compose file, updating .env.example, and adjusting README. No application code changes needed.
Priority
High — unauthenticated database access is a critical security misconfiguration.
Auto-identified by workspace issue-logger
Category: CVE / security vulnerability
Complexity: S
Repository: DewaldOosthuizen/python_rest_tutorial
Summary
The
docker-compose.ymlsetsMONGO_URI=mongodb://my_db:***@my_db:27017/.3. Use the official
mongoimage (not an empty custom Dockerfile) so init env vars are respected.4. Document the setup steps in README.
Acceptance Criteria
my_dbservice requires credentials to connectMONGO_URIindocker-compose.ymlincludes auth credentials sourced from.env.env.exampledocumentsMONGO_USERandMONGO_PASSWORDdocker-compose upstill starts cleanly with the new configComplexity Estimate
S — requires adding env vars to compose file, updating
.env.example, and adjusting README. No application code changes needed.Priority
High — unauthenticated database access is a critical security misconfiguration.
Auto-identified by workspace issue-logger
Category: CVE / security vulnerability
Complexity: S
Repository: DewaldOosthuizen/python_rest_tutorial