How set log level error for promtail from docker-compose without change/set config file

Hello! Thanks for loki/promtail!
How set log level error for promtail from docker-compose without change/set config file ?
Maybe there is a way to add 1 line to docker-compose to change loglevel to error?

first, append -config.expand-env=true in command line, then use ${log_level:-error} to configured.

Not guaranteed, you can try it.

Ref: Use environment variables in the configuration