Change DB Connection for owncloud APP

I want to change the Database connection for the installed owncloud APP/Docker to another Server, which is running all my mysql Databases.
in the default overwrite.config.php the DB Configuration is like this:
‘dbhost’ => getenv(‘OWNCLOUD_DB_HOST’),
‘dbname’ => getenv(‘OWNCLOUD_DB_NAME’),
‘dbuser’ => getenv(‘OWNCLOUD_DB_USERNAME’),
‘dbpassword’ => getenv(‘OWNCLOUD_DB_PASSWORD’),
‘dbtableprefix’ => getenv(‘OWNCLOUD_DB_PREFIX’),

This File is created wjen the (docker) APP starts.

How can i change this.

THANKS

Mastodon