diff options
| author | Arseney300 <Arseney300@gmail.com> | 2026-03-02 09:34:04 +0700 |
|---|---|---|
| committer | Arseney300 <Arseney300@gmail.com> | 2026-03-02 09:34:04 +0700 |
| commit | 8d612262e7ffe7b4d34c0ba9d56448b92bcbf97f (patch) | |
| tree | cb28890c3b6950d3aab3a074e26889a7a250a8ad /nexus/docker-compose.yaml | |
| parent | a71d4eff42c5582c95c599cdc98e19290d55d3d7 (diff) | |
Add Nexus Repository Manager with Docker registry and Authelia auth
Nexus provides artifact storage (Maven, raw, etc.) and a private Docker
registry at registry.swave.lol. Authelia forward-auth protects Gerrit,
Jenkins, and Nexus behind SSO. Includes setup guide, nginx config,
certbot domains, and a Jenkins pipeline example for artifact uploads.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'nexus/docker-compose.yaml')
| -rw-r--r-- | nexus/docker-compose.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nexus/docker-compose.yaml b/nexus/docker-compose.yaml new file mode 100644 index 0000000..e6b7093 --- /dev/null +++ b/nexus/docker-compose.yaml @@ -0,0 +1,21 @@ +services: + nexus: + image: sonatype/nexus3:latest + container_name: nexus + restart: always + environment: + - NEXUS_CONTEXT=nexus + volumes: + - /var/nexus-data:/nexus-data + networks: + nexus_network: + ipv4_address: 172.25.0.2 + +networks: + nexus_network: + name: nexus_network + driver: bridge + ipam: + config: + - subnet: 172.25.0.0/16 + gateway: 172.25.0.1 |
