fix: nexus service

This commit is contained in:
peaklabs-dev
2024-12-11 15:04:28 +01:00
parent b685bbe248
commit fdd8323598
3 changed files with 3 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -1,13 +1,12 @@
# documentation: https://help.sonatype.com/en/sonatype-nexus-repository.html # documentation: https://help.sonatype.com/en/sonatype-nexus-repository.html
# slogan: Open source Universal Repository Manager (ARM version, community edition), default credentials: admin/admin123 # slogan: Open source Universal Repository Manager (ARM version, community edition), default credentials: admin/admin123
# tags: repository, manager, open source, docker, docker, registry, container # tags: repository, manager, open source, docker, docker, registry, container
# logo: svgs/nexus-arm.png # logo: svgs/nexus.png
# port: 8081 # port: 8081
services: services:
nexus: nexus:
image: sonatypecommunity/nexus3 image: sonatypecommunity/nexus3
restart: on-failure
environment: environment:
- SERVICE_FQDN_NEXUS_8081 - SERVICE_FQDN_NEXUS_8081
- NEXUS_SECURITY_RANDOMPASSWORD=false - NEXUS_SECURITY_RANDOMPASSWORD=false

View File

@@ -7,10 +7,10 @@
services: services:
nexus: nexus:
image: sonatype/nexus3 image: sonatype/nexus3
restart: on-failure platform: linux/amd64
environment: environment:
- SERVICE_FQDN_NEXUS_8081 - SERVICE_FQDN_NEXUS_8081
- NEXUS_SECURITY_RANDOMPASSWORD=false - NEXUS_SECURITY_RANDOMPASSWORD=${NEXUS_SECURITY_RANDOMPASSWORD:-false}
- INSTALL4J_ADD_VM_PARAMS=-Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Djava.util.prefs.userRoot=/nexus-data/javaprefs - INSTALL4J_ADD_VM_PARAMS=-Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Djava.util.prefs.userRoot=/nexus-data/javaprefs
volumes: volumes:
- nexus_data:/nexus-data - nexus_data:/nexus-data