-
Notifications
You must be signed in to change notification settings - Fork 356
Address Docker security and best practices from PR review #1330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE. |
…mentation fixes Co-authored-by: Avdhesh-Varshney <[email protected]>
|
@copilot But you have not update the .env.example file with MONGO_EXPRESS_USER & MONGO_EXPRESS_PASSWORD? |
Co-authored-by: Avdhesh-Varshney <[email protected]>
You're right! I've added the MONGO_EXPRESS_USER and MONGO_EXPRESS_PASSWORD variables to server/.env.example in commit c965989. These variables are now documented with default values (admin/changeme) for the mongo-express service used in Docker. |
Avdhesh-Varshney
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
Pull Requests Review Criteria
Caution
PRs that fail to meet these review standards will be automatically flagged and may be rejected by maintainers.
mainCloses: #472
Describe the add-ons or changes you've made 📃
Implements security hardening and Docker best practices based on code review feedback for the Docker setup PR.
Security
changemeinstead of hardcodedadmin123)package-lock.jsonin Docker images for deterministic builds and vulnerability trackingReferrer-Policyheader to nginx configurationDocker Best Practices
7-nobleinstead of8.2.2-noble(better stability, tested version)client_node_modulesinstead of anonymous volume--omit=devreplaces deprecated--only=productionConfiguration
VITE_SERVER_DOMAINenvironment override from docker-compose (relies on.envfile).dockerignorepatterns:docker-compose*.{yml,yaml}docker-compose.yamlinstead of non-existentdocker-compose.fullstack.yamlExample health check implementation:
Deferred: CORS configuration changes in
server.jsper maintainer request.Screenshots 📷
Not applicable - configuration and documentation changes only.
Note to reviewers (Optional) 📄
All review comments from the original Docker setup PR have been addressed except for CORS configuration changes which were deferred per maintainer request.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.