Setting admin user & password in the Docker image?

78 views
Skip to first unread message

Michael Schnell

unread,
Sep 28, 2017, 5:02:34 AM9/28/17
to Event Store
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=<USERNAME> -e KEYCLOAK_PASSWORD=<PASSWORD> jboss/keycloak

Any idea how to achieve this?

Cheers,
Michael

Michael Schnell

unread,
Mar 22, 2020, 6:15:10 AM3/22/20
to Event Store
Almost three years later...

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

John Lazos

unread,
Mar 22, 2020, 9:09:13 AM3/22/20
to Event Store
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.

Reply all
Reply to author
Forward
0 new messages