Nexus Repository Application Guide
Sonatype Nexus Repository is an artifact repository manager for Maven, npm, Docker, PyPI, and other formats.
Status: Available (not yet verified end to end)
Quick Reference
| Property | Value |
|---|---|
| Application ID | nexus |
| Category | Artifact Registry |
| Default Image | sonatype/nexus3:latest |
| Application Port | 8081 |
| Default CPU | 2048 (Fargate) |
| Default Memory | 4096 MB (Fargate) |
| Default Instance | t3.medium (EC2) |
| Health Check Path | / |
| Health Check Grace | 300 seconds |
| Supports Fargate | Yes |
| Supports EC2 | Yes |
| Supported Auth Modes | none |
| Database Required | No (embedded database) |
Upstream Features
- Maven, npm, NuGet, PyPI, RubyGems, and Docker formats
- Proxy, hosted, and group repositories
- File and S3 blob stores
- REST API
Optional Ports
| Port | Protocol | Direction | Feature Flag | Description |
|---|---|---|---|---|
| 5000 | TCP | Inbound | enableDockerRegistry | Docker Registry (group) |
| 5001 | TCP | Inbound | enableDockerRegistry | Docker Registry (hosted) |
| 5002 | TCP | Inbound | enableDockerRegistry | Docker Registry (proxy) |
Example enabling Docker registry:
{
"enableDockerRegistry": true
}
Authentication
| Mode | Description |
|---|---|
none | Nexus local accounts |
Nexus declares only the none auth mode. When a context is prepared for a deployment target (the interactive deployer or CloudForgeDeployment), an unsupported authMode such as alb-oidc is replaced with none and a warning is printed. Compliance frameworks that require CloudForge-managed authentication, such as the SOC 2 CC6.2 rule, report a failure when authMode is none.
Native SAML in Nexus requires a Nexus Pro license; CloudForge does not configure it.
Environment Variables
| Variable | Description |
|---|---|
INSTALL4J_ADD_VM_PARAMS | JVM heap settings. Set only by the EC2 user data (-Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m). |
Storage Configuration
Container (Fargate)
| Property | Value |
|---|---|
| Data Path | /nexus-data |
| EFS Path | /nexus |
| Volume Name | nexusData |
| Container User | 200:200 |
| EFS Permissions | 755 |