Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Meshiest/mrseedbox
[unmaintained] A Containerized Seedbox with Embedded Media Player
https://github.com/Meshiest/mrseedbox
backend docker docker-compose emby letsencrypt mysql react redis ruby rutorrent seedbox sinatra-server
Last synced: 21 days ago
JSON representation
[unmaintained] A Containerized Seedbox with Embedded Media Player
- Host: GitHub
- URL: https://github.com/Meshiest/mrseedbox
- Owner: Meshiest
- License: mit
- Created: 2016-08-14T19:50:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-15T00:42:44.000Z (over 6 years ago)
- Last Synced: 2024-08-05T17:28:55.880Z (4 months ago)
- Topics: backend, docker, docker-compose, emby, letsencrypt, mysql, react, redis, ruby, rutorrent, seedbox, sinatra-server
- Language: JavaScript
- Homepage:
- Size: 2.14 MB
- Stars: 31
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - Meshiest/mrseedbox - [unmaintained] A Containerized Seedbox with Embedded Media Player (JavaScript)
README
**Disclaimer**: Neither this project nor its owner will take any responsibility for any illegal use.
## Mr Seedbox
I use this repo to test weird coding habits on a larger scale, don't expect the code to be pretty
### New Screenshots
## Install process (Still wip, sorry!):
1. Be running Linux
* Install Git
* Install docker
* Install docker-compose
* Create a Google API Project
* Add the Google+ API library
* Generate some Credentials for Oauth2
* Application Type:
* Web Application
* Authorized origins:
* `https://localhost` or `https://yourdomain.com`
* Authorized redirect URIs:
* `https://localhost/oauth2callback` or `https://yourdomain.com/oauth2callback`
* `git clone https://github.com/Meshiest/mrseedbox.git`
* `cd mrseedbox`
* `cp common.env.default common.env`
* `cp docker-compose.yml.default docker-compose.yml` OR `cp letsencrypt-docker-compose.yml docker-compose.yml` for letsencrypt
* Edit your docker-compose.yml and common.env files (put google api client and secret in)
* Make sure you change EXAMPLE.COM if you're using the letsencrypt dockerfile
* Generate a SSL Cert: `./setup`
* If you are using LetsEncrypt, you can use `certbot certonly --standalone`
* If you are using LetsEncrypt, make sure you generate a dhparam:
* `sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048`
* The **first person to connect and auth will be the "owner"**
* You will have to go through the initial emby setup at `localhost:8096`!
* If you are migrating from the old versions, you may have to `docker build backend` before starting the containers. If that doesn't work, you should remove all containers and images associated with this app and `./start` it again
* **Don't forget to add this to your MyAnimeList Custom CSS for the best experience**: `@import url(https://gist.githubusercontent.com/Meshiest/cf3a3a4e16f5669ce7540445bf5b4cbf/raw/style.css)`If you do use the above LetsEncrypt instructions, you should get some nice A+ SSL like this:
![](https://i.imgur.com/ZVDQet3.png)
### Commands (from shell):
* `./start` - start, build, and update containers. If you need to update emby, you can run this
* `docker-compose up -d` - same as above
* `./stop` - should stop containers
* `docker-compose kill ; docker-compose rm -f` - same as above
* `./db` - should open db container for debugging
* `./server` - should restart sinatra server container (by force >:) )
* `docker-compose restart mrseedbox_backend_1` - should be a nicer way of doing above
* `docker logs -f mrseedbox_backend_1` - read logs from sinatra server
* `docker ps` - list containers
* `docker exec -it mrseedbox_backend_1 bash` - get a shell in the backend container
* You should know that creating a `debug` file in the backend folder will prevent authentication## Contributing
### Things You Need
* You need docker
* NPM/node### Updating the Backend (`./backend`)
1. Make your changes
2. `docker build .`
3. `./start` from the parent directory and `docker logs -f mrseedbox_backend_1` and check if there were any problems starting the container### Updating the frontend (`./backend/public/js`)
1. Change app.jsx
2. `npm install --only=dev` in backend/public/js
3. `npm test`