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:
parent
72f36f8296
commit
109ee80c36
1 changed files with 1 additions and 0 deletions
|
@ -287,6 +287,7 @@ services:
|
|||
image: binwiederhier/ntfy
|
||||
container_name: ntfy
|
||||
command:
|
||||
- ntfy
|
||||
- serve
|
||||
environment:
|
||||
- TZ=UTC # optional: set desired timezone
|
||||
|
|
Loading…
Reference in a new issue