mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #361] file server.yml do not exists [Docker] #280
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#280
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 @barart on GitHub (Jul 10, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/361
Hello, after create the docker container with default values and volumes mapped to
/etc/ntfyand/var/cache/ntfythere are neither/var/cache/ntfy/cache.dbor/etc/ntfy/server.ymlfilesThe only way that the
cache.dbfile is created is if i specify it with--cache-file /var/cache/ntfy/cache.dboption but theserver.ymlis not createdDo i need to manually create the
server.ymlfile? (i could not find this on docs)Does the
cache.dbfile is not created by default when the volume is mapped and it is only created with the--cache-fileoption?@binwiederhier commented on GitHub (Jul 10, 2022):
For docker you need to manually create the server.yml file. One you specify cache-file in the config it'll be created just like when you pass the command line arg.
At the top of the config guide (https://ntfy.sh/docs/config/) you can find a link to the skeleton server.yml file.
This is not the first time somebody asked, so maybe we should update the docker docs.
@binwiederhier commented on GitHub (Sep 3, 2022):
I added this info box at the top of the Docker install instructions. Hope that makes it clearer.