You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can make the mounted config file dynamic by turning it into a script. If `/etc/manticoresearch/manticore.conf` starts with `#!/bin/sh` or `#!/bin/bash`, the container executes it and uses its stdout as the final config. This lets you use environment variables that you pass via `docker run -e` or docker-compose `environment:`. This can be useful for injecting sensitive values at runtime instead of hardcoding them in the file.
Environment variable overrides like `searchd_*` and `common_*` are applied after the script output is generated.
277
+
252
278
You can also set individual `searchd` and `common` configuration settings using Docker environment variables.
253
279
254
280
The settings must be prefixed with their section name, example for in case of `mysql_version_string` the variable must be named `searchd_mysql_version_string`:
0 commit comments