Created
January 8, 2024 20:30
-
-
Save fritzstauff/f5b54e23103847f4556f87440205709d to your computer and use it in GitHub Desktop.
streamdal-entry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Generate a unique identifier, e.g., using the hostname | |
NODE_NAME="node-$(hostname)" | |
# Set the environment variable | |
export STREAMDAL_SERVER_NODE_NAME=$NODE_NAME | |
# Execute the original Docker entry point | |
exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment