私服nexus
安装
version: '3' services: common_nexus3: image: sonatype/nexus3:3.26.1 container_name: common_nexus3 restart: always volumes: - ./nexus-data:/nexus-data networks: - custom_net ports: - 8081:8081 - 8082:8082 - 8083:8083 environment: NEXUS_CONTEXT: nexus networks: custom_net: #内部网络 external: name: common_net #外部网络 #访问路由http://ip:8081/nexus