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 includes significant updates to the environment configuration files, Docker setup, and the
.dockerignorefile. The changes aim to improve the configuration management and containerization of the application. Below are the most important changes:Environment Configuration Updates:
.env.example.local: Renamed from.env.exampleand updated with new environment variables, includingPRISMA_MIGRATIONS,DATABASE_CONNECTION_URI, andDATABASE_CONNECTION_URL. Removed several unused variables..env.example.railway: Added a new example configuration file for Railway with comprehensive environment variables for database, RabbitMQ, Pusher, and other services..env.example.supabase: Added a new example configuration file for Supabase with detailed environment settings similar to the Railway configuration.Docker and Docker Compose Changes:
Dockerfile: Refactored to use a multi-stage build process with a more descriptive and organized structure. The new Dockerfile usesnode:20for building andnode:20-slimfor the production stage, improving efficiency and readability.docker-compose.dev.yaml: Removed the development Docker Compose configuration file, which included services, volumes, and networks for the API.Docker Ignore File:
.dockerignore: Updated to ignore additional files such asnpm-debug.logand.env, while removing patterns for Docker-related files.