Closed
Description
Essentially what the title says.
Deployment / Version used
podman run -d -v ./server.yml:/etc/ntfy/server.yml:ro -p 80:80 --name=ntfy docker.io/binwiederhier/ntfy:v1.27.2@sha256:19eeaec60fda9dfd4757f79610494f5ec78ece274c995f032edc68238720e0a2 serve
Reproduction
- specify
auth_filein server.yml e.g.auth_file: "/var/lib/ntfy/auth.db" - start container (see above)
- exec into container e.g.
podman exec -it ntfy /bin/sh - execute ntfy user command and observe output:
$ ntfy user add myuser mytopic rw
option auth-file not set; auth is unconfigured for this server
Once I switch from auth_file to auth-file in the server.yml everything works. This contradicts the statement at the top of the server.yml