mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-27 07:31:40 +01:00
add nexus3
This commit is contained in:
22
nexus3/README.md
Normal file
22
nexus3/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
nexus3
|
||||
======
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```yaml
|
||||
nexus3:
|
||||
image: sonatype/nexus3
|
||||
ports:
|
||||
- "8081:8081"
|
||||
volumes:
|
||||
- ./data:/nexus-data
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
## up and running
|
||||
|
||||
```bash
|
||||
$ mkdir data
|
||||
$ chown -R 200 data
|
||||
$ docker-compose up -d
|
||||
```
|
||||
7
nexus3/docker-compose.yml
Normal file
7
nexus3/docker-compose.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
nexus3:
|
||||
image: sonatype/nexus3
|
||||
ports:
|
||||
- "8081:8081"
|
||||
volumes:
|
||||
- ./data:/nexus-data
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user