Making changes persist in config.php when using a docker container

Can you put them in the environment?