fix: nexus service
This commit is contained in:
parent
b685bbe248
commit
fdd8323598
3 changed files with 3 additions and 4 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 6.5 KiB |
|
|
@ -1,13 +1,12 @@
|
|||
# documentation: https://help.sonatype.com/en/sonatype-nexus-repository.html
|
||||
# slogan: Open source Universal Repository Manager (ARM version, community edition), default credentials: admin/admin123
|
||||
# tags: repository, manager, open source, docker, docker, registry, container
|
||||
# logo: svgs/nexus-arm.png
|
||||
# logo: svgs/nexus.png
|
||||
# port: 8081
|
||||
|
||||
services:
|
||||
nexus:
|
||||
image: sonatypecommunity/nexus3
|
||||
restart: on-failure
|
||||
environment:
|
||||
- SERVICE_FQDN_NEXUS_8081
|
||||
- NEXUS_SECURITY_RANDOMPASSWORD=false
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@
|
|||
services:
|
||||
nexus:
|
||||
image: sonatype/nexus3
|
||||
restart: on-failure
|
||||
platform: linux/amd64
|
||||
environment:
|
||||
- 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
|
||||
volumes:
|
||||
- nexus_data:/nexus-data
|
||||
|
|
|
|||
Loading…
Reference in a new issue