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: