Containerize services and add reverse proxy#12
Open
rensortino wants to merge 7 commits intodjosix:masterfrom
Open
Containerize services and add reverse proxy#12rensortino wants to merge 7 commits intodjosix:masterfrom
rensortino wants to merge 7 commits intodjosix:masterfrom
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
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.
This pull request introduces Docker-based deployment for ServStat, for better portability and ease of configuration. It containerizes the backend and frontend, adds a
docker-compose.ymlfor orchestrating services, and updates the documentation to recommend Docker deployment. The backend container uses a CUDA-based image to allow for GPU monitoring and an Nginx reverse proxy is configured to route requests to the appropriate services.Dockerization and Deployment
docker-compose.ymlto define and orchestrate backend, frontend, and Nginx services, including GPU allocation for backend and custom networking.Makefilewith convenient targets for building, starting, stopping, and managing Docker services.backend/Dockerfileandfrontend/Dockerfilefor containerizing both backend and frontend applications.nginx.confto configure Nginx as a reverse proxy, routing/stat/API requests to backend and all other requests to frontend, with error handling and fallback messaging.Documentation Updates
README.mdto recommend Docker deployment, provide step-by-step Docker instructions, and clarify backend/frontend roles.Frontend Dependencies update