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

Are Build-Time Variables still Required? #306

Open bamf-admin opened 9 months ago

bamf-admin commented 9 months ago

I've seen various documentations that seem to say that future (or maybe current) implementations of Cal.com community docker instance might not need specific build-time variables for production, and that you can just use run-time variables for the full extent of Cal.com's configuration. Is that true? Or is the current version of this repo's README accurate when it says that those build time variables still need to be specified separate from run-time variables, and that you need to build it yourself for a production installation?

cn-ml commented 1 month ago

I'm quite familiar with mutli-stage docker builds, but not so much node/yarn toolchain. Why is it even necessary to specify the database connection during build time? I have never built an application that needs to know the deployment information during build time.