Skip to content

Commit

Permalink
Merge pull request #53 from 030/gh49-docker-compose
Browse files Browse the repository at this point in the history
[GH-49] docker-compose support
  • Loading branch information
030 authored May 20, 2019
2 parents 003adb2 + 1279150 commit 7c338f1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7c338f1

Please sign in to comment.