Merged
Conversation
…on and add script execution for dos2unix; modify CORS origin check in app.ts for production environment
- Created a start.sh script to set environment variables for the application. - Updated CMD to execute the new script instead of directly serving the build.
- Added environment variable setup in docker-compose.yml for VITE_API_URL. - Introduced update-docker-env.sh script to create/update .env file for local and remote deployments. - Updated Dockerfile to dynamically create env-config.js during build. - Modified frontend to load environment configuration from env-config.js. - Refactored API client to use centralized config for API URL.
Fix/docker compose fix
- Added VITE_SOCKET_URL to docker-compose.yml for WebSocket connection. - Updated update-docker-env.sh to handle SSL options for WebSocket URLs. - Modified Dockerfile to include VITE_SOCKET_URL in env-config.js. - Implemented getSocketUrl function in frontend to retrieve WebSocket URL. - Refactored socket configuration to use centralized socket URL from environment settings.
Enhance WebSocket support and update environment configuration
…nvironment management - Deleted .env and .env.example files to streamline environment variable management. - Updated docker-compose.yml to utilize env_file for frontend and backend services. - Enhanced update-docker-env.sh to create separate environment files for development and production. - Revised README.md to reflect the new environment file structure and setup instructions.
Remove legacy environment files and update Docker configuration for e…
- Updated update-docker-env.sh to define FRONTEND_URL and streamline CORS settings. - Modified app.ts to include SERVER_CORS and FRONTEND_URL in allowed origins for both production and development environments. - Improved output messages in update-docker-env.sh to provide clearer information on URLs and CORS configuration.
Enhance environment configuration for frontend and CORS support
- Changed the frontend service to build from a local context instead of using a pre-built image. - Specified the Dockerfile for the frontend build process.
Refactor frontend service configuration in docker-compose.yml
- Updated the Dockerfile to create the start.sh script in a more structured manner, improving readability and maintainability. - Ensured that the script dynamically updates env-config.js with runtime environment variables for API and WebSocket URLs.
Refactor start.sh script creation in Dockerfile
… script - Added a new health check endpoint to the public router in index.ts, returning a simple status response. - Updated update-docker-env.sh to include the MinIO Dashboard URL in the environment configuration and output messages.
Enhance backend API with health check endpoint and update environment…
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
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.