forked from mozilla/BrowserQuest
-
Notifications
You must be signed in to change notification settings - Fork 0
Merge master into optimisation #14
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Added http-server dependency to package.json and package-lock.json. - Updated server configuration in config_local.json-dist for improved clarity and added new parameters. - Implemented rate limiting in WebSocket connection handling to manage connections per IP address, enhancing server stability.
Master to dev/infraV2
…e documentation structure - Replaced websocket and websocket-server with socket.io in the dependencies list. - Improved section headings for Configuration, Deployment, and Monitoring for better clarity.
…nfiguration steps - Revised main README.md to streamline content and emphasize dynamic hostname usage. - Updated client README.md to simplify deployment instructions and promote Docker usage. - Clarified server README.md for local deployment and Docker compatibility.
- Updated Dockerfile to use Node.js 23-alpine. - Removed 'bison' dependency from package.json and package-lock.json. - Added security configurations in config.json to limit connections and implement a firewall. - Introduced a firewall module to manage IP blacklisting and suspicious activity logging. - Enhanced player input validation to prevent invalid data submissions.
Security
… websocket qui me bloque la co avec le ingress,s
…n settings, and adjust server host - Changed Docker image for browserquest from 'jeck0v/browserquest:test' to 'maxbdk/browserquest:test'. - Updated service and deployment to use port 8080 instead of 80 for HTTP. - Modified client connection URL to use 'ws://' and adjusted reconnection settings. - Changed server host from '127.0.0.1' to '0.0.0.0' for broader accessibility.
…esource allocation - Increased the number of replicas in the deployment from 1 to 3 for improved availability. - Adjusted CPU resource requests from 100m to 500m and limits from 200m to 1000m to better handle load. - Updated HPA minimum replicas from 1 to 3 and maximum replicas from 5 to 8 to support higher scaling capabilities.
Dev/infra v2
…nfiguration files - Added .idea to .gitignore to prevent IDE-specific files from being tracked. - Deleted several unused configuration files from the .idea directory, including discord.xml, vcs.xml, and Project_Default.xml.
Add Docs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.