Server password in docker compose

I want to provide the pmm server password in docker compose file . How can i do it .

1 Like

Hi, great question, I’ve been wondering the same thing recently too
And unfortunately I was told it was impossible.

But maybe something has changed, let’s wait for someone from the PMM team.

Did you try any of the supported environment variables? Set up PMM Client - Percona Monitoring and Management Use those inside your compose.yaml file.

Try the environment variable
GF_SECURITY_ADMIN_PASSWORD