Containerize services and add reverse proxy #12
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.yml
for 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.yml
to define and orchestrate backend, frontend, and Nginx services, including GPU allocation for backend and custom networking.Makefile
with convenient targets for building, starting, stopping, and managing Docker services.backend/Dockerfile
andfrontend/Dockerfile
for containerizing both backend and frontend applications.nginx.conf
to 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.md
to recommend Docker deployment, provide step-by-step Docker instructions, and clarify backend/frontend roles.Frontend Dependencies update