Skip to content

Instantly share code, notes, and snippets.

@fritzstauff
Created January 8, 2024 20:30
Show Gist options
  • Save fritzstauff/f5b54e23103847f4556f87440205709d to your computer and use it in GitHub Desktop.
Save fritzstauff/f5b54e23103847f4556f87440205709d to your computer and use it in GitHub Desktop.
streamdal-entry
#!/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