diff --git a/README.md b/README.md index 91a50e3..c3dc646 100644 --- a/README.md +++ b/README.md @@ -290,6 +290,7 @@ A collection of delicious docker recipes. - [x] sonatype/nexus3 - [x] jazzdd/phpvirtualbox - [x] jenkins +- [x] sonatype/nexus3 - [x] jupyter/notebook - [x] kylemanna/openvpn - [x] metabase/metabase diff --git a/nexus3/README.md b/nexus3/README.md new file mode 100644 index 0000000..fcb4150 --- /dev/null +++ b/nexus3/README.md @@ -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 +``` diff --git a/nexus3/docker-compose.yml b/nexus3/docker-compose.yml new file mode 100644 index 0000000..b577c49 --- /dev/null +++ b/nexus3/docker-compose.yml @@ -0,0 +1,7 @@ +nexus3: + image: sonatype/nexus3 + ports: + - "8081:8081" + volumes: + - ./data:/nexus-data + restart: unless-stopped