Hi all, while using docker image can the server co...
# help
Hi all, while using docker image can the server configuration be managed by environment instead of passing configuration file, i am deploying an ecs cluster in which i am passing the image now i can set the environment of the container for server configuration but attaching config file is bit complex and approach feels a bit over engineered
There are just too many configuration options to make all of them have distinct environment variables. You can either: • Define the configuration fields you want to override using
command line arguments. (E.g.
). • The config file supports environment variable interpolation. So you can craft a config file that references env vars using the syntax
and bake that into your container https://docs.cerbos.dev/cerbos/latest/configuration/index.html
Okay , Thanks for the clarification.