Skip to content

Nexus Maven Repository Deploy

Published:

Nexus Maven Repository Deploy

持久化目录增加权限

chmod 777 nexus-data

Docker Compose

version: '3'
services:
  nexus3:
    image: sonatype/nexus3
    container_name: nexus3
    ports:
      - "8081:8081"
    volumes:
      - "/etc/localtime:/etc/localtime"
      - "./nexus-data:/nexus-data"
    restart: unless-stopped

新建角色

参考链接

https://github.com/sonatype/docker-nexus3