diff --git a/docker-compose.yml b/docker-compose.yml index f2c653b57..83e5fd83f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -306,20 +306,22 @@ selenium-node-firefox: nexus: container_name: nexus restart: always - image: accenture/adop-nexus:0.1.4 + image: accenture/adop-nexus:0.2.2 net: ${CUSTOM_NETWORK_NAME} expose: - "8081" environment: NEXUS_BASE_URL: "${PROTO}://${TARGET_HOST}/nexus" + NEXUS_CONTEXT: "nexus" + NEXUS_ADMIN_PASSWORD: "${INITIAL_ADMIN_PASSWORD_PLAIN}" LDAP_SEARCH_BASE: "${LDAP_FULL_DOMAIN}" LDAP_ENABLED: "true" LDAP_URL: "ldap" LDAP_BIND_DN: "${LDAP_ADMIN},${LDAP_FULL_DOMAIN}" + LDAP_BIND_PASSWORD: "${LDAP_PWD}" LDAP_USER_PASSWORD_ATTRIBUTE: "userPassword" LDAP_USER_BASE_DN: "${LDAP_USER_BASE_DN}" LDAP_GROUP_BASE_DN: "${LDAP_GROUP_BASE_DN}" - LDAP_BIND_PASSWORD: ${LDAP_PWD} ldap-ltb: container_name: ldap-ltb diff --git a/etc/volumes/local/default.yml b/etc/volumes/local/default.yml index 01d42fe0a..81746a60d 100644 --- a/etc/volumes/local/default.yml +++ b/etc/volumes/local/default.yml @@ -61,7 +61,7 @@ jenkins: nexus: volumes: - - nexus_sonatype_work:/sonatype-work + - nexus_data:/nexus-data registry: volumes: diff --git a/etc/volumes/nfs/default.yml b/etc/volumes/nfs/default.yml index e543ee147..853272b9e 100644 --- a/etc/volumes/nfs/default.yml +++ b/etc/volumes/nfs/default.yml @@ -78,7 +78,7 @@ selenium-node-firefox: nexus: volume_driver: nfs volumes: - - ${NFS_HOST}/nfs/nexus_sonatype_work:/sonatype-work + - ${NFS_HOST}/nfs/nexus_sonatype_work:/nexus-data registry: volume_driver: nfs