-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamically create the service_conf.yaml file by replacing environment variables from .env #3341
Dynamically create the service_conf.yaml file by replacing environment variables from .env #3341
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graceful indeed. Many thanks!
Also, thanks for the painstaking edits to the README and docs! |
The CI is blocked due to unable to connect to ragflow-server. Need to investigate why. |
d17ef33
to
bc14c4a
Compare
Fixed code to pass CI. |
@yuzhichang thanks for fixing it, pretty sure it worked when I tested it a few days ago. But I like it better if it is done all in the Will you close the corresponding issue #3322. I have created or should I do it? |
What problem does this PR solve?
This pull request implements the feature mentioned in #3322.
Instead of manually having to edit the
service_conf.yaml
file when changes have been made to.env
and mapping it into the docker container at runtime, a template file is used and the values replaced by the environment variables from the.env
file when the container is started.Type of change