If there is already an initialized database, the environment variables will be ignored.
What you have looks correct; the POSTGRES_USER
variable only needs to be set if you want it to be something other than postgres
.
Note: If you use dashes, I believe it's KEY=Value
and if you don't use dashes, it's KEY: value
Try giving it a clean data volume and re-running to see if it picks it up.