Open mkswebdev opened 3 years ago
It's not possible with the default entrypoint, but it sounds like a good idea to extend the env vars functionality. Currently it supports updating searchd/common settings via env vars. Would you like to extend the functionality and make a pull request?
Yes, please, extend the env vars functionality is a good solution.
I read the documentation and was surprised that only searchd/common settings is supported.
Not sure when we'll have time for it, but we'll be glad to review and accept your pull request :)
This is possible in v6.2.0 using the environment variable common_sql_pass
(assuming a single password for all sql_pass
instances).
In v6.3 the environment variable functionality has been refactored to add a common
section to the config instead of replacing variables in the config. The old code is here: https://github.com/manticoresoftware/docker/blob/6.2.0/docker-entrypoint.sh#L175
How hide password from
manticore.conf
? Can I use a variable?docker-compose.yml:
./docker/manticore/manticore.conf: