Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update command when runnig from docker #1158

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dwarf-king-hreidmar
Copy link

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant