1
0
mirror of https://github.com/Adam-Ant/nzbget synced 2024-12-20 10:24:35 +00:00

Initial Commit

This commit is contained in:
Adam Dodman 2018-04-28 14:21:22 +01:00
commit 353bab581a
Signed by: AdamAnt
GPG Key ID: 7826B108895B86AA
3 changed files with 52 additions and 0 deletions

20
.drone.yml Normal file
View File

@ -0,0 +1,20 @@
pipeline:
build:
image: spritsail/docker-build
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
repo: nzbget-dev
# No test step, the upstream should sort that. ffmpeg should work if the build finishes.
publish:
image: spritsail/docker-publish
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
secrets: [ docker_username, docker_password, microbadger_token ]
when: { branch: [ master ], event: [ push, tag, deployment ] }
from: nzbget-dev
repo: adamant/nzbget
notify:
image: spritsail/notify
when: { status: [ success, failure ] }
secrets: [ webhook_url, notify_token ]

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM spritsail/nzbget
LABEL maintainer="Adam Dodman <nzbget@adam-ant.co.uk>" \
org.label-schema.name="NZBGet" \
org.label-schema.url="https://nzbget.net/" \
org.label-schema.description="NZBGet - the efficient Usenet downloader, with added ffmpeg libraries" \
RUN apk add --no-cache ffmpeg file

24
README.md Normal file
View File

@ -0,0 +1,24 @@
[hub]: https://hub.docker.com/r/adamant/nzbget
[git]: https://github.com/adamant/nzbget
[drone]: https://drone.adamant.io/spritsail/nzbget
[mbdg]: https://microbadger.com/images/adamant/nzbget
# [Spritsail/NZBGet][hub]
[![Layers](https://images.microbadger.com/badges/image/adamant/nzbget.svg)][mbdg]
[![Latest Version](https://images.microbadger.com/badges/version/adamant/nzbget.svg)][hub]
[![Git Commit](https://images.microbadger.com/badges/commit/adamant/nzbget.svg)][git]
[![Docker Pulls](https://img.shields.io/docker/pulls/adamant/nzbget.svg)][hub]
[![Docker Stars](https://img.shields.io/docker/stars/adamant/nzbget.svg)][hub]
[![Build Status](https://drone.adamant.io/api/badges/spritsail/nzbget/status.svg)][drone]
An Alpine Linux based Dockerfile to run the usenet downloader NZBGet. This is a fork that includes ffmpeg and file, for post processing scripts.
It expects a volume to store data mapped to `/config` in the container, and a volume where your downloads should go stored at `/downloads`. Enjoy!
This dockerfile uses a user with uid 904, and a gid of 900. Make sure this user has write access to the /config folder.
These user IDs can be overwritten by defining `$UID` and `$GID` respectively.
## Example run command
```
docker run -d --restart=on-failure:10 --name NZBGet -v /volumes/nzbget:/config -v /host/path/to/downloads:/downloads -p 6789:6789 adamant/nzbget
```