You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
578 B
27 lines
578 B
# PROJECT: dolphin |
|
# VERSION: 1.0.0 |
|
# Author: wangxiang4 |
|
# Maven私有库 |
|
# https://github.com/sonatype/docker-nexus3 |
|
# https://registry.hub.docker.com/r/sonatype/nexus3 |
|
# password is kanglai@2023 |
|
version: "3" |
|
services: |
|
nexus: |
|
image: sonatype/nexus3:3.58.1 |
|
container_name: nexus |
|
hostname: nexus |
|
restart: always |
|
ports: |
|
- 7779:8081 |
|
volumes: |
|
- /usr/software/dockerDatabase/nexus/nexus-data:/nexus-data |
|
logging: |
|
driver: json-file |
|
options: |
|
max-size: "50m" |
|
max-file: "10" |
|
|
|
volumes: |
|
nexus-data: |
|
driver: local
|
|
|