Update README.md

Added docker-compose example
This commit is contained in:
Schmitty
2023-12-16 14:41:35 +11:00
committed by GitHub
parent 6a00d61257
commit 15f622a293
+21
View File
@@ -30,6 +30,7 @@ Consumption of a Docker Mod is intended to be as user friendly as possible and c
Full example:
docker run
```bash
docker create \
--name=nzbget \
@@ -43,6 +44,26 @@ docker create \
--restart unless-stopped \
linuxserver/nzbget
```
docker-compose
```yaml
---
version: "2.1"
services:
nzbget:
image: linuxserver/nzbget:latest
container_name: nzbget
environment:
- DOCKER_MODS=taisun/nzbget-mod:latest
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- /path/to/data:/config
- /path/to/downloads:/downloads #optional
ports:
- 6789:6789
restart: unless-stopped
```
This will spinup an nzbget container and apply the custom logic found in the following repository: