Search code examples
dockeransiblenexus

Is there any way I can automate configuring Nexus 3?


I am currently setting up a nexus3 OSS server. I've created and ansible role that wil set up an official nexus3 docker container behing and nginx reverse proxy. I have my storage setup separately so my artifacts will persist if the instance gets killed (for say, a base image update). I'd like to set up the ansible role so I don't have to go into the nexus gui to setup LDAP and repositories everytime I recreate the server. Is there a way to inject this kind of configuration into nexus?


Solution

  • I've just resorted to creating proxy-repositories in nexus2, I'll turn these into hosted repo's later. The storage here is much more straightforward and accessible and I've hosted it on a discrete persistent EBS. I'll use this for now and upgrade to 3.1 when that's released. Thanks anyway!