From 109ee80c3696fddabd4cfdc8c944afdfdcc6e13a Mon Sep 17 00:00:00 2001
From: dwarf-king-hreidmar
 <45319558+dwarf-king-hreidmar@users.noreply.github.com>
Date: Mon, 22 Jul 2024 00:28:25 +0000
Subject: [PATCH] update command when runnig from docker

I'm not sure if this is outdated across the board but I found I had to run command: ["ntfy","serve"] when using the docker image. I run ntfy from a k8s cluster with the following config:
```
    spec:
      containers:
      - image: binwiederhier/ntfy
        imagePullPolicy: IfNotPresent
        name: ntfy
        command: ["ntfy", "serve"]
        envFrom:
        - configMapRef:
            name: ntfy
        ports:
        - containerPort: 80
          name: http
          protocol: TCP
        volumeMounts:
          - mountPath: /var/lib/ntfy
            name: ntfy
      volumes:
        - name: ntfy
          persistentVolumeClaim:
            claimName: ntfy
```

happy to expand on the docs or standardize the command across all examples if need be.
---
 docs/install.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/install.md b/docs/install.md
index 0c823571..5bc27329 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -287,6 +287,7 @@ services:
     image: binwiederhier/ntfy
     container_name: ntfy
     command:
+      - ntfy
       - serve
     environment:
       - TZ=UTC    # optional: set desired timezone