Feat: improve environment configuration and Docker support #257
+121
−30
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 significant updates to the project configuration and deployment setup. Key changes include a comprehensive overhaul of environment variables, the addition of a local Dockerfile for the frontend, and improvements to the
compose.yaml
file to streamline container management and enhance modularity.Environment Configuration Updates:
.env.sample
: Expanded environment variables to include detailed configurations for server, database, Redis, mail client, and third-party integrations. This improves clarity and centralizes configuration management.Docker and Deployment Enhancements:
Dockerfile.local
: Added a new Dockerfile for the frontend, specifying the Node.js version, build steps, and runtime commands to simplify local development.compose.yaml
: Updated theweb
service to use the new Dockerfile, added.env
for environment variable management, and improved volume handling to ensure proper dependency usage.compose.yaml
: Modified thepostgres
service to use.env
for environment variables and added a named volume (postgres-data
) for persistent database storage.