Skip to content

Commit

Permalink
Make listen host configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
ZTube committed Sep 23, 2024
1 parent a0deea4 commit 4fb1684
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion truenas-gotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# Example: cGVla2Fib29v
GOTIFY_TOKEN = os.environ.get("GOTIFY_TOKEN")

LISTEN_HOST = "127.0.0.1"
# The ip address the service should listen on
LISTEN_HOST = os.environ.get("LISTEN_HOST", "127.0.0.1")
PORT = 31662


Expand Down

0 comments on commit 4fb1684

Please sign in to comment.