Nexus Repository Manager¶
Nexus is our artifact repository for Docker images, Python packages, npm packages, and RPM packages.
| URL | nexus.shared.cwiq.io |
| Login | SSO via Authentik |
Repository Types¶
| Repository | Format | Purpose |
|---|---|---|
docker-hosted |
Docker | CWIQ-built container images |
docker-proxy |
Docker | Cache for Docker Hub images |
docker-group |
Docker | Combined view (hosted + proxy) |
pypi-hosted |
PyPI | CWIQ Python packages |
pypi-proxy |
PyPI | Cache for pypi.org packages |
npm-hosted |
npm | CWIQ npm packages |
npm-proxy |
npm | Cache for npmjs.com packages |
raw-hosted |
Raw | Binary artifacts (RPMs, etc.) |
Browsing Artifacts¶
- Open nexus.shared.cwiq.io
- Sign in via SSO
- Click Browse in the sidebar
- Select a repository to view its contents
Using Nexus as a Docker Registry¶
# Login to Nexus Docker registry
docker login nexus.shared.cwiq.io:8443
# Pull an image
docker pull nexus.shared.cwiq.io:8443/orchestrator/server:latest
# Push an image (CI/CD does this automatically)
docker push nexus.shared.cwiq.io:8443/orchestrator/server:latest
Using Nexus as a PyPI Source¶
# Install a package from Nexus PyPI proxy
pip install --index-url https://nexus.shared.cwiq.io/repository/pypi-group/simple/ package-name
# Or configure pip globally
pip config set global.index-url https://nexus.shared.cwiq.io/repository/pypi-group/simple/
Using Nexus as an npm Registry¶
# Set registry for a project
npm config set registry https://nexus.shared.cwiq.io/repository/npm-group/
# Or use .npmrc in your project
echo "registry=https://nexus.shared.cwiq.io/repository/npm-group/" > .npmrc
CI/CD Integration¶
Docker images and packages are automatically published to Nexus by CI/CD pipelines. See Nexus Artifacts in CI/CD for details.