Lokal icon indicating copy to clipboard operation
Lokal copied to clipboard

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

Open katomaso opened this issue 2 years ago • 0 comments

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 avatar Apr 28 '23 09:04 katomaso