How docker connect to postgresql?

I used Metabse by docker and migrated to 0.41.5 and change DB from H2->Postgresql successfully.
I can connect Postgresql DB by pgadmin and the data seems correct. But when I Add new user group, I can't see the new group in the permissions_group table. Seems the docker still use H2 not Postgresql.

How to config docker to connect the Postgresql DB??

Hi @Jay
Post "Diagnostic Info" from Admin > Troubleshooting.
Did you start the container with the correct variables?
https://www.metabase.com/docs/latest/operations-guide/running-metabase-on-docker.html#using-postgres-as-the-metabase-application-database