docker-gitlab
docker-gitlab copied to clipboard
Initialize account password
hey, bro, how are you doing, sorry to bother you.
I'm using the latest docker-compose.yml
and found the setting
...
environment:
- ...
- GITLAB_ROOT_PASSWORD=123456789
- [email protected]
...
is not working, but in image: sameersbn/gitlab:14.9.1
is normal, now using image: sameersbn/gitlab:15.9.2
, if so, can you tell me how should If so, can you tell me how to modify it?
这个版本的gitlab不允许用弱密码,用户创建失败了,注册一个新的,然后通过rails控制台设置state和admin
这个版本的gitlab不允许用弱密码,用户创建失败了,注册一个新的,然后通过rails控制台设置state和admin
这样子,好像我使用其他强密码也是失效的,如果用户创建失效,请问yml配置目前是无用的了吗
我也遇到相同的问题了,请问有解决方案吗,难道只能通过gitlab-rails 去控制台设置密码了吗?
GITLAB_ROOT_PASSWORD
and GITLAB_ROOT_EMAIL
are refered only first run (I mean, when the database is empty.
You can change password from rails console. Please note that gitlab-rails
command does not available for sameersbn/gitlab
. Run bundle exec rails console
as user git. Or, you can use rake task instead: bundle exec rake "gitlab:password:reset".
See "Self-compiled (source)" tab on documentation: https://docs.gitlab.com/ee/security/reset_user_password.html?tab=Self-compiled+%28source%29