mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1013] Config file not their #711
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#711
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @216321 on GitHub (Jan 29, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1013
🐞 Describe the bug
The Docker-compose file did not make the Config file (server.yml)
💻 Components impacted
ROC-RK3328-CC
💡 Screenshots and/or logs
Their is no files in /etc/ntfy
🔮 Additional context
Hear is my compose file
version: "2.8"
services:
ntfy:
image: binwiederhier/ntfy
container_name: ntfy
command:
- serve
environment:
- TZ=ET # optional: set desired timezone
#user: UID:GID # optional: replace with your own user/group or uid/gid
volumes:
- /var/cache/ntfy:/var/cache/ntfy
- /etc/ntfy:/etc/ntfy
ports:
- 80:80
healthcheck: # optional: remember to adapt the host:port to your environment
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '"healthy"\s*:\s*true' || exit 1"]
interval: 60s
timeout: 10s
retries: 3
start_period: 40s
restart: unless-stopped
@wunter8 commented on GitHub (Jan 29, 2024):
As highlighted in the "Info" box here, server.yml is not included by default: https://docs.ntfy.sh/install/#docker
Also, I'd recommend using env variables to configure ntfy in Docker instead of server.yml. See an example here: https://docs.ntfy.sh/config/#__tabbed_2_1