Docker Compose部署Nexus

docker-compose.yml配置

version: '3'

services:
  nexus:
    image: sonatype/nexus3:latest
    restart: always
    container_name: nexus
    ports:
      - 8081:8081
    volumes:
      - ./nexus-data:/nexus-data:rw

你可能感兴趣的:(Docker Compose部署Nexus)