1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-07 12:24:22 +01:00

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.
This commit is contained in:
dwarf-king-hreidmar 2024-07-22 00:28:25 +00:00 committed by GitHub
parent 72f36f8296
commit 109ee80c36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -287,6 +287,7 @@ services:
image: binwiederhier/ntfy
container_name: ntfy
command:
- ntfy
- serve
environment:
- TZ=UTC # optional: set desired timezone