Rename environmental variable "PORT" SP 0.5 #999
Labels
api
Indicates api related issue or feature
breaking change
Indicates this will require a breaking change
bug
Something isn't working
good first issue
Good for newcomers
Milestone
Description 😯
The env var PORT is used in the API and excel-export project to define the port. This is confusing when using an .env file for multiple services (like the .env file in dev or operation setup) .
Solution
Rename PORT in API to API_PORT and in excel-export to EXCEL_EXPORT_PORT.
Also rename API_HOST to MASTER_API_HOST and API_PORT (the current) to MASTER_API_PORT and API_PROTO to MASTER_API_PROTO
This is a breaking change for existing deployments!
Your Environment 🌎
v1.26.0
The text was updated successfully, but these errors were encountered: