From 15f622a29307fb47861f472f78e3d95e513c6246 Mon Sep 17 00:00:00 2001 From: Schmitty Date: Sat, 16 Dec 2023 14:41:35 +1100 Subject: [PATCH] Update README.md Added docker-compose example --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 418a49d..8db50bd 100644 --- a/README.md +++ b/README.md @@ -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: