Airstrip-AI / airstrip

Open-source enterprise generative AI platform
https://airstrip.pro
Apache License 2.0
41 stars 0 forks source link

Allow the use of local .env files instead of being built into the docker image #2

Closed albertsyh closed 2 days ago

albertsyh commented 3 weeks ago

Right now the sample.env file is injected directly into the docker image and doesn't allow env variables to be injected during runtime. This happens on both the FE and BE.

hendychua commented 3 weeks ago

Changes made in https://github.com/hendychua/airstrip/commit/54626354c686a2dca5e12990154fc4c2a164aeb8. Note that for airstrip-fe, which uses NextJS and bakes the env vars into the build, the variables have to be changed in Dockerfile.