Repository navigation
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 full Docker support for both the backend and frontend, enabling easy deployment and development with Docker Compose. It refactors environment variable handling, simplifies CORS configuration, and ensures seamless networking between frontend and backend across different host interfaces (localhost, LAN, Tailscale, etc.). The README and environment files have been updated to reflect these changes and provide clear instructions for quick setup.
Dockerization and Deployment
Dockerfilefor both backend and frontend, including multi-stage builds for optimized images. [1] [2]docker-compose.ymlto orchestrate backend and frontend containers, persistent data volumes, and shared network..dockerignorefiles for backend and frontend to reduce build context size and improve build efficiency. [1] [2]Environment and Configuration Refactoring
.env.examplefiles and config handling to useFRONTEND_PORTandVITE_BACKEND_PORT, simplifying host/port management for cross-network access. [1] [2]0.0.0.0and derive CORS permissions from the frontend port, allowing requests from any host on that port. [1] [2]Networking and CORS Improvements
Data Storage and Initialization
Documentation Updates
These changes make the project much easier to deploy and run in real-world homelab or development environments, with clear separation of concerns and robust support for different networking scenarios.
Closes #103
Closes #80
Closes #76