[GH-ISSUE #375] [Question] Sending messages from commandline with docker #288

Closed
opened 2026-05-07 00:22:39 +02:00 by BreizhHardware · 2 comments

Originally created by @phirestalker on GitHub (Aug 5, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/375

I have ntfy running via docker-compose. I have set up authentication and access control for my topics. What is the recommended way to allow the root user of the docker image to publish to a topic?

Originally created by @phirestalker on GitHub (Aug 5, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/375 I have ntfy running via docker-compose. I have set up authentication and access control for my topics. What is the recommended way to allow the root user of the docker image to publish to a topic?
BreizhHardware 2026-05-07 00:22:39 +02:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@binwiederhier commented on GitHub (Aug 6, 2022):

I'm not sure I follow. If you've set up user/ACLs then why don't you just use one of them to publish? There is no magic back door for local users or inside of docker, if that's what you're asking

<!-- gh-comment-id:1207121728 --> @binwiederhier commented on GitHub (Aug 6, 2022): I'm not sure I follow. If you've set up user/ACLs then why don't you just use one of them to publish? There is no magic back door for local users or inside of docker, if that's what you're asking
Author
Owner

@phirestalker commented on GitHub (Aug 6, 2022):

No, not really. I guess the easiest way is to set some environment
variables. I was skimming the help and realized that it accepts them for
the username and pass.

On Fri, Aug 5, 2022 at 6:38 PM Philipp C. Heckel @.***>
wrote:

I'm not sure I follow. If you've set up user/ACLs then why don't you just
use one of them to publish? There is no magic back door for local users or
inside of docker, if that's what you're asking


Reply to this email directly, view it on GitHub
https://github.com/binwiederhier/ntfy/issues/375#issuecomment-1207121728,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZBOZZCTRAVG7UTMJFCJR3VXW62HANCNFSM55XE77WA
.
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:1207125094 --> @phirestalker commented on GitHub (Aug 6, 2022): No, not really. I guess the easiest way is to set some environment variables. I was skimming the help and realized that it accepts them for the username and pass. On Fri, Aug 5, 2022 at 6:38 PM Philipp C. Heckel ***@***.***> wrote: > I'm not sure I follow. If you've set up user/ACLs then why don't you just > use one of them to publish? There is no magic back door for local users or > inside of docker, if that's what you're asking > > — > Reply to this email directly, view it on GitHub > <https://github.com/binwiederhier/ntfy/issues/375#issuecomment-1207121728>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABZBOZZCTRAVG7UTMJFCJR3VXW62HANCNFSM55XE77WA> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#288
No description provided.