codenotary / immudb

immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history
https://immudb.io
Other
8.57k stars 344 forks source link

Dockerfile IMMUDB_ADMIN_PASSWORD not support #1776

Open martin-matj opened 1 year ago

martin-matj commented 1 year ago

IMMUDB_ADMIN_PASSWORD not support

I hope this can be supported in the docker compose file

**environment:

linux

thanks!

martinjirku commented 10 months ago

I've tried it and the IMMUDB_ADMIN_PASSWORD worked for me in the docker-compose.

However, the Variable substitution of docker-compose could be an issue in your case. So your password gets transformed from Wos!#$$ to Wos!#$ by docker-compose. If you want to login with Wos!#$$, you need to specify the password in docker-compose file like this Wos!#$$$$.

See the gist for more details, on how I've configured the docker-compose: https://gist.github.com/martinjirku/cb09b13dcecdcb5b5d70ef44424a0ca9

I've tried to login with the immuadmin login immudb or the go run main.go with the provided password and both worked well.