calcom / docker

The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
MIT License
646 stars 338 forks source link

Changing build-time env variables to run-time only #312

Open gabidb opened 9 months ago

gabidb commented 9 months ago

What does this PR do?

Fixes [CAL-2635] by changing build-time environment variables to run-time.

Type of change

How should this be tested?

Scenario 1: Verify Image Build and Container Run

Scenario 2: Docker Compose

Disclaimer

At this point Build arguments cannot be removed as there are checks in the background for the existence of these variables. While this makes sense when setting those variables build-time, when requiring the variables to be set only run-time, these checks might be redundant.