commit
78df45a159
1 changed files with 2 additions and 46 deletions
48
README.md
48
README.md
|
|
@ -20,53 +20,9 @@ This is a web interface to manage your torrents on Real-Debrid, AllDebrid or Pre
|
||||||
|
|
||||||
## Docker Setup
|
## Docker Setup
|
||||||
|
|
||||||
You can run the docker container on Windows, Linux. To get started either use _Docker Run_ or _Docker Compose_.
|
Please see our separate Docker setup Read Me.
|
||||||
|
|
||||||
### Docker Run
|
[Readme for Docker](README-DOCKER.md)
|
||||||
|
|
||||||
```console
|
|
||||||
docker run --pull=always
|
|
||||||
--volume /your/download/path/:/data/downloads \
|
|
||||||
--volume /your/storage/path/:/data/db \
|
|
||||||
--log-driver json-file \
|
|
||||||
--log-opt max-size=10m \
|
|
||||||
-p 6500:6500 \
|
|
||||||
--name rdtclient \
|
|
||||||
rogerfar/rdtclient:latest
|
|
||||||
```
|
|
||||||
|
|
||||||
Replace `/your/download/path/` with your local path to download files to. For Windows i.e. `C:/Downloads`.
|
|
||||||
Replace `/your/storage/path/` with your local path to store persistent database and log files in. For Windows i.e. `C:/Docker/rdt-client`.
|
|
||||||
|
|
||||||
### Docker Compose
|
|
||||||
|
|
||||||
You can use the provided docker compose to run:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
version: '3.3'
|
|
||||||
services:
|
|
||||||
rdtclient:
|
|
||||||
container_name: rdtclient
|
|
||||||
volumes:
|
|
||||||
- 'D:/Downloads/:/data/downloads'
|
|
||||||
- 'D:/Docker/rdt-client/:/data/db'
|
|
||||||
image: rogerfar/rdtclient
|
|
||||||
restart: always
|
|
||||||
logging:
|
|
||||||
driver: json-file
|
|
||||||
options:
|
|
||||||
max-size: 10m
|
|
||||||
ports:
|
|
||||||
- '6500:6500'
|
|
||||||
```
|
|
||||||
|
|
||||||
And to run:
|
|
||||||
|
|
||||||
```console
|
|
||||||
docker-compose up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
Replace the paths in `volumes` as in the above step.
|
|
||||||
|
|
||||||
## Run as a Service
|
## Run as a Service
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue