Setting admin user & password in the Docker image?

Hi there,

Is there any way to configure the admin username and password in the Docker image?

Other images use environment variables to pass in an initial username and password (Keycloak example):

docker run -e KEYCLOAK_USER= -e KEYCLOAK_PASSWORD= jboss/keycloak

``

Any idea how to achieve this?

Cheers,

Michael

Almost three years later…

Is there still no way to configure the admin user/password for the Docker image?

Hi Michael,

The issue isn't with the Docker image, but that the EventStore command line has no way to configure the password on initialization.

This issue highlights a couple of ways you can change the password post initialization: https://github.com/EventStore/EventStore/issues/2045

I agree it would be nice to configure this on init like e.g. the MySQL image, but the API will be best after that if you want to do things like rotate the password.