mirror of
https://github.com/Adam-Ant/nzbget
synced 2025-02-22 13:18:35 +00:00
Initial Commit
This commit is contained in:
commit
353bab581a
20
.drone.yml
Normal file
20
.drone.yml
Normal 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
8
Dockerfile
Normal 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
24
README.md
Normal 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]
|
||||
|
||||
[][mbdg]
|
||||
[][hub]
|
||||
[][git]
|
||||
[][hub]
|
||||
[][hub]
|
||||
[][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
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user