From 1279150f91bb87678277c0548dc1cde8b3a52ef2 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 20 May 2019 20:02:38 +0200 Subject: [PATCH] [GH-49] docker-compose support [GH-49] docker-compose support --- CHANGELOG.md | 7 ++++++- README.md | 9 +++++++++ docker-compose.yml | 10 ++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 docker-compose.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bab9082..507dd486 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.3.0] - 2019-05-20 +### Added +- docker-compose example. + ## [2.2.1] - 2019-05-20 ### Fixed - Broken repositories subcommands due to omission of authentication request. @@ -69,7 +73,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Download all artifacts from a certain Nexus3 repository. -[Unreleased]: https://github.com/030/n3dr/compare/2.2.1...HEAD +[Unreleased]: https://github.com/030/n3dr/compare/2.3.0...HEAD +[2.3.0]: https://github.com/030/n3dr/compare/2.2.1...2.3.0 [2.2.1]: https://github.com/030/n3dr/compare/2.2.0...2.2.1 [2.2.0]: https://github.com/030/n3dr/compare/2.1.1...2.2.0 [2.1.1]: https://github.com/030/n3dr/compare/2.1.0...2.1.1 diff --git a/README.md b/README.md index b848faf4..c0253afc 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,15 @@ all submitted artifacts will be downloaded. ## How to use this tool? +### Docker-compose + +One could use [this docker-compose.yml](docker-compose.yml) and start a backup +of all repositories, after modifying it, and issue: + +``` +docker-compose up +``` + ### Password Define the password in `~/.n3dr.yaml`: diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..2d02d533 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: '3.7' +services: + n3dr: + image: utrecht/n3dr:2.2.1 + volumes: + - ~/.n3dr.yaml:/home/n3dr/.n3dr.yaml + - ~/2019-05-20-nexus-fqdn:/download + environment: + - HTTPS_PROXY=some-proxy + command: repositories -n some-nexus -u admin -d \ No newline at end of file