mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
Update README.md
Added docker-compose example
This commit is contained in:
@@ -30,6 +30,7 @@ Consumption of a Docker Mod is intended to be as user friendly as possible and c
|
|||||||
|
|
||||||
Full example:
|
Full example:
|
||||||
|
|
||||||
|
docker run
|
||||||
```bash
|
```bash
|
||||||
docker create \
|
docker create \
|
||||||
--name=nzbget \
|
--name=nzbget \
|
||||||
@@ -43,6 +44,26 @@ docker create \
|
|||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
linuxserver/nzbget
|
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:
|
This will spinup an nzbget container and apply the custom logic found in the following repository:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user