mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-04-21 12:07:00 +02:00
update nexus3
This commit is contained in:
parent
0f395eae21
commit
afa86de547
@ -1,18 +1,6 @@
|
|||||||
nexus3
|
nexus3
|
||||||
======
|
======
|
||||||
|
|
||||||
## docker-compose.yml
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
nexus3:
|
|
||||||
image: sonatype/nexus3
|
|
||||||
ports:
|
|
||||||
- "8081:8081"
|
|
||||||
volumes:
|
|
||||||
- ./data:/nexus-data
|
|
||||||
restart: unless-stopped
|
|
||||||
```
|
|
||||||
|
|
||||||
## up and running
|
## up and running
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -1,7 +1,23 @@
|
|||||||
nexus3:
|
version: "3.7"
|
||||||
image: sonatype/nexus3
|
|
||||||
ports:
|
services:
|
||||||
- "8081:8081"
|
|
||||||
volumes:
|
nexus3:
|
||||||
- ./data:/nexus-data
|
image: sonatype/nexus3
|
||||||
restart: unless-stopped
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user