Update README.md

Amended the docker section to point at the dedicated read me file as the information on the front page does not have the same detailed information or compose information.
This commit is contained in:
DrFrankensteinUK 2024-08-01 17:55:36 +01:00 committed by GitHub
parent 02113a43dd
commit c1e165c14c
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