Merge pull request #555 from DrFrankensteinUK/master

Update README.md
This commit is contained in:
Roger Far 2024-09-02 18:57:34 -06:00 committed by GitHub
commit 78df45a159
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,53 +20,9 @@ This is a web interface to manage your torrents on Real-Debrid, AllDebrid or Pre
## 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
```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.
[Readme for Docker](README-DOCKER.md)
## Run as a Service