Git Product home page Git Product logo

docker-spotweb's Introduction

Intro

Multi-container setup to run Spotweb. It uses a MariaDB container and a combined PHP-FPM and nginx container.

First run

(Optionally) To build the containers yourself:

$ docker build --rm -t steynovich/spotweb:latest .

To initially run the containers:

$ docker-compose up

Database credentials as used in the MariaDB containers are also passed to the container running PHP. When launching it will automatically create the database structure if needed (e.g. on the first run).

Default username is 'admin' and the default password is 'spotweb'. Please change it directly after booting up the containers.

Now point your browser to the host running the nginx container: http://192.168.31.23/. You will be automatically redirected to http://192.168.31.23/spotweb/. After logging in spotweb needs to be configured to use a Usenet server and to handle NZBs properly. More information on this can be found on the spotweb github (https://github.com/spotweb/spotweb/wiki).

Stopping the containers

To stop the spotweb containers run:

$ docker-compose stop

Starting the containers

To start the spotweb containers run:

$ docker-compose start

Cron

New spots are downloaded every hour using the '@hourly' timestamp in cron. Running the cronjob for the first time will take a while. The time and storage required to store all the posts can be limited by disabling the retrieval of spot comments in the settings area.

Terminating the containers

If you - for some reason - want to delete the containers run:

$ docker-compose down

Afterwards (intermediate containers) can be deleted.

Deleting the images

To delete the self-built images run:

$ docker rmi steynovich/spotweb:latest

Delete the volumes

$ docker rm spotweb_db spotweb_cache

docker-spotweb's People

Contributors

steynovich avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

bafplus

docker-spotweb's Issues

Segmentation fault..

spotweb       | Check if db is online ...
spotweb       | Retrying ...
spotweb       | Segmentation fault (core dumped)
spotweb       | Retrying ...
spotweb       | Segmentation fault (core dumped)
spotweb       | Retrying ...
spotweb       | Segmentation fault (core dumped)

I don't think it should be doing this ;) i was more eager to use your version since it just depends on a normal mariadb service, while others make their own "sausage" db for spotweb. I use my db for more, hence why i wanted this version to work. Could you check/update to latest version?

Be able to set Userid Groupid for web user

Spotweb has the option to "save" the file to the /nzb folder. At the moment it just writes it with the www-data user, but that user does not exist. I normally add GUID and UUID to the environment of the container to set the default user to that. Any ways on how i can do that here too?

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.