ome / devspace

Continuous integration tool for OME projects
18 stars 18 forks source link

Default nexus admin password #182

Closed sbesson closed 7 months ago

sbesson commented 3 years ago

See https://github.com/sonatype/docker-nexus3/commit/bd57ceec2a0f374f1c2a112177186ab7a949e8bf

Recreating the nexus service (likely after repulling) led to issues when trying to authenticate to populate the repository. While the password was previously assumed to be admin123 (and hardcoded in the script), I retrieved it by shelling into the container and reading the content of admin.password.

Either we can include some logic to read this password and pass it to the initialization script or we could try and override it, possibly by creating a custom admin.password file under nexus-data

joshmoore commented 3 years ago

Aha. So newer images have changed the behavior, no?

sbesson commented 3 years ago

Yes (likely for security reasons)

manics commented 3 years ago

Looks like I ran into that new password behaviour in https://github.com/ome/devspace/pull/159

jburel commented 7 months ago

https://github.com/ome/devspace/pull/206 avoid the creation of random password