diff --git a/Dockerfiles/frontend/Dockerfile b/Dockerfiles/frontend/Dockerfile index 2e1c876..42ae76a 100644 --- a/Dockerfiles/frontend/Dockerfile +++ b/Dockerfiles/frontend/Dockerfile @@ -8,7 +8,7 @@ VOLUME /config EXPOSE 80 443 ENV USERNAME=user \ - PASSWORD=hunter2 \ + PASSWORD=h4ckMePleAse \ USE_SSL=true COPY nginx.conf common_default.conf ssl.conf /etc/nginx/ diff --git a/Dockerfiles/sonarr/Dockerfile b/Dockerfiles/sonarr/Dockerfile index aa32c6c..de1b34b 100644 --- a/Dockerfiles/sonarr/Dockerfile +++ b/Dockerfiles/sonarr/Dockerfile @@ -23,6 +23,7 @@ ENV XDG_DATA_HOME="/config" \ VOLUME /config +# 8989 is Sonarr, 9117 is Jackett EXPOSE 8989 9117 COPY services.d /etc/services.d diff --git a/README.md b/README.md index febd96e..2cd330d 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ A collection of Dockerfiles and a docker-compose configuration to set up a seedbox and personal media server. +# Credits +Main credits go to [Kelvin Chen](https://github.com/Kelvin-Chen/seedbox) who started the development of its own seedbox using Docker. Mine was first a fork of Kelvin's one, but I made some serious changes in the code and plan to add even more tools and services that keeping this project as a fork started to have less sense as code diverged. + ## Accessing a Service's Web Interface Go to `x.hostname` where `x` is the service you want to access. Included services are: @@ -12,7 +15,7 @@ Included services are: - h5ai (service accessible via `explore.hostname`) The front-end reverse proxy routes based on the lowest level subdomain (e.g. -`rtorrent.example.com` would route to rtorrent). Since this is how the router +`deluge.example.com` would route to deluge). Since this is how the router works, it is recommended for you to get a top level domain. If you do not have one, you can edit your domains locally by changing your hosts file or use a browser plugin that changes the host header. @@ -30,10 +33,7 @@ if you do this. Before running, please create the volumes which will be statically mapped to the ones on the host: ```sh -$ sudo su -# cd /; mkdir data; cd data; mkdir config; mkdir torrents -# exit -$ ls /data +$ sudo su -c "cd /; mkdir data; cd data; mkdir config; mkdir torrents" ``` ## Running @@ -67,8 +67,7 @@ think the convenience outweighs that. All you have to do is set the `PLEX_EMAIL` and `PLEX_PASSWORD` variables in the config file. ## Where is my data? -All data are saved in the docker volumes `seedbox_config` or +All data is saved in the docker volumes `seedbox_config` or `seedbox_torrents`. -You can also replace these docker volumes with static path if you want to -handle manually where files are stored on your server. You can do this by -editing the volumes settings in the `docker-compose.yml` file. +These volumes are mapped to the `config` and `torrents` located in `/data` on the host. You can change these static path in the docker-compose.yml file. +Thanks to the **local-persist** Docker plugin, the data located in these volumes is persistent, meaning that volumes are not deleted, even when using the ```docker-compose down``` command. It would be a shame to loose everything by running a simple docker command ;-) diff --git a/config.default b/config.default index e52b7f2..c59c09f 100644 --- a/config.default +++ b/config.default @@ -1,7 +1,7 @@ USERNAME=username -PASSWORD=hunter2 +PASSWORD=h4ckMePleAse USE_SSL=true -# For Plex Pass download +# For Plex Pass download only PLEX_EMAIL= PLEX_PASSWORD=