Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: nexus service

peaklabs-devfdd8323598a5
diff --git a/public/svgs/nexus-arm.png b/public/svgs/nexus-arm.png
deleted file mode 100644
index 823ea4e867..0000000000
Binary files a/public/svgs/nexus-arm.png and /dev/null differ
diff --git a/templates/compose/nexus-arm.yaml b/templates/compose/nexus-arm.yaml
index d76578adc5..b9a426309f 100644
--- a/templates/compose/nexus-arm.yaml
+++ b/templates/compose/nexus-arm.yaml
@@ -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
diff --git a/templates/compose/nexus.yaml b/templates/compose/nexus.yaml
index de9f930751..a23601c1d6 100644
--- a/templates/compose/nexus.yaml
+++ b/templates/compose/nexus.yaml
@@ -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