GithubHelp home page GithubHelp logo

morveus / docker_newznabplus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dimaj/docker_newznabplus

0.0 1.0 0.0 7 KB

A NewzNab+ installation within a Docker container

Shell 44.09% PHP 55.91%

docker_newznabplus's Introduction

NewznabPlus installation in a Docker container
======

This is a simple project that creates a docker container for NewznabPlus. This container includes the following components:
 * Newznab
 * mysql server
 * phpmyadmin

This container is based on the instructions found here: newznab.readthedocs.org/en/latest/guides/install_ubuntu-14.04/

# Getting started
---
## Step 1: Clone this repo
```
git clone https://github.com/dimaj/docker_newznabplus.git
cd docker_newznabplus
```

## Step 2: Update configs
### Edit the `files/nn_config.php` file by changing environment variables to fit your needs
* db_root_pass  - Root password for mysql install
* svn_user - Username for SVN repo to download newznabplus source code
* svn_pass - Password for SVN repo to download newznabplus source from
* php_timezone - Timezone of your machine
* DB_NN_NAME - Name of a database to create in MySQL DB
* NH_HOST - News provider hostname
* NH_PORT - News provider port number
* NH_USER - News provider username
* NH_PASS - News provider password
* NH_SSL - News provider is SSL enabled? (true/false)

## Step 3: Build a container
```
docker build -t "newznabplus" .
```

## Step 4: Run this container
```
docker run --name "newznabplus" -d -i -p <local web port>:80 -p <local mysql port>:3306 -v <path to nzbs folder>:/nzbs newznabplus
```
Where:
 * local web port = local port number that will be forwarded to container's port 80 for web access
 * local mysql port = local port number that will be forwarded to container's port 3306 for mysql access
 * path to nzbs folder = absolute path local folder that will contain cached nzb files

docker_newznabplus's People

Contributors

dimaj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.