Closed rflihxyz closed 4 months ago
Latest commit: a657503fd1ac91da54ea8ff63d940aedf8428401
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Recent updates enhance the server configuration for better compatibility with PaaS providers. Environment variables for host and port have been introduced, allowing dynamic configuration. This ensures the application can adapt to various deployment environments seamlessly.
Files | Change Summary |
---|---|
.github/workflows/docker-compose.healthcheck.yml |
Added BACKEND_PORT environment variable sourced from secrets. |
.env.example |
Replaced BACKEND_PORT=3000 with BACKEND_HOSTNAME="0.0.0.0" . |
packages/api/src/main.ts |
Updated server initialization to use BACKEND_PORT and BACKEND_HOSTNAME environment variables. |
In the code where servers hum, Ports and hosts now overcome, Variables dance in sweet array, Ensuring apps in clouds can play. A tweak, a change, a small delight, For seamless runs both day and night.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
The latest updates on your projects. Learn more about Vercel for Git ↗︎