From b675ab8b52cc5571b41b696568ada77cae17c4c2 Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 16 Oct 2019 17:50:28 +0800 Subject: [PATCH] add nexus3 --- README.md | 1 + nexus3/README.md | 22 ++++++++++++++++++++++ nexus3/docker-compose.yml | 7 +++++++ 3 files changed, 30 insertions(+) create mode 100644 nexus3/README.md create mode 100644 nexus3/docker-compose.yml 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