Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Portainer] seems to be unable to use longer passwords (or more complicated passwords) #52

Open
katomaso opened this issue Apr 28, 2023 · 0 comments

Comments

@katomaso
Copy link
Collaborator

Currently, we use CLI defined password in portainer deployment. We hash the password using bcrypt and print it directly into docker-compose.yml as shown below.

  portainer:
    image: portainer/portainer-ce:latest
    user: "{{uid}}:{{gid_docker}}"
    command: --admin-password '{{password_admin|password_hash('bcrypt')}}'

The problem is that this does not work for out production password that is a bit longer and contains numbers. It works on shorter password (also with numbers).

@katomaso katomaso changed the title Portainer seems to be unable to use longer passwords (or more complicated passwords) [Portainer] seems to be unable to use longer passwords (or more complicated passwords) May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant