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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ services:
image: binwiederhier/ntfy
container_name: ntfy
command:
- ntfy
- serve
environment:
- TZ=UTC # optional: set desired timezone
Expand Down Expand Up @@ -340,7 +341,7 @@ unmanned pod.
containers:
- name: ntfy
image: binwiederhier/ntfy
args: ["serve"]
args: ["ntfy", "serve"]
resources:
limits:
memory: "128Mi"
Expand Down Expand Up @@ -389,7 +390,7 @@ unmanned pod.
containers:
- name: ntfy
image: binwiederhier/ntfy
args: ["serve", "--cache-file", "/var/cache/ntfy/cache.db"]
args: ["ntfy", "serve", "--cache-file", "/var/cache/ntfy/cache.db"]
ports:
- containerPort: 80
name: http
Expand Down Expand Up @@ -424,7 +425,7 @@ unmanned pod.
containers:
- name: ntfy
image: binwiederhier/ntfy
args: ["serve"]
args: ["ntfy", "serve"]
resources:
limits:
memory: "128Mi"
Expand Down Expand Up @@ -519,7 +520,7 @@ kubectl apply -k /ntfy
containers:
- name: ntfy
image: binwiederhier/ntfy:v1.28.0 # set deployed version
args: ["serve"]
args: ["ntfy", "serve"]
env: #example of adjustments made in environmental variables
- name: TZ # set timezone
value: XXXXXXX
Expand Down