mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
24 lines
457 B
YAML
24 lines
457 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
|
|
nexus3:
|
|
image: sonatype/nexus3
|
|
ports:
|
|
- "8081:8081"
|
|
volumes:
|
|
- ./data:/nexus-data
|
|
depends_on:
|
|
- minio
|
|
restart: unless-stopped
|
|
|
|
minio:
|
|
image: minio/minio
|
|
command: gateway oss https://oss-cn-beijing.aliyuncs.com
|
|
expose:
|
|
- "9000"
|
|
environment:
|
|
- MINIO_ACCESS_KEY=xxxxxxxxxxxxxxxx
|
|
- MINIO_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
restart: unless-stopped
|