1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/nexus3/docker-compose.yml
2021-12-01 18:11:40 +08:00

24 lines
498 B
YAML

version: "3.8"
services:
nexus3:
image: sonatype/nexus3:3.37.0
ports:
- "8081:8081"
volumes:
- ./data:/nexus-data
depends_on:
- minio
restart: unless-stopped
minio:
image: minio/minio:RELEASE.2020-04-15T19-42-18Z
command: gateway oss https://oss-cn-beijing.aliyuncs.com
expose:
- "9000:9000"
environment:
- MINIO_ACCESS_KEY=xxxxxxxxxxxxxxxx
- MINIO_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
restart: unless-stopped