Should we create a custom configuration file to pass in configuration via environment variables? #47
davidbarratt
started this conversation in
Ideas
Replies: 2 comments 5 replies
-
But do you want to create custom config file from env variables every time when container start (entrypoint) or only once for fresh installation (entrypoint + |
Beta Was this translation helpful? Give feedback.
1 reply
-
I see that Wordpress docker image from version 5.7 (?) has file wp-config-docker.php and use it as wp-config.php. So they read env variables every time when container start |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that Phabricator allows custom configuration files to be created. We could create a custom config file that allows some configuration to be passed in through environment variables. The user could always override this file completely (or the configuration it imposes).
Is this something we should do? Would it be helpful? If so, should we use a prefix for the environment variables like
PHABRICATOR_
?Beta Was this translation helpful? Give feedback.
All reactions