Files
dropshell-templates/graylog/ports.sh
j 0c47dc47e5
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
config: Update 3 files
2026-01-27 18:41:18 +13:00

14 lines
381 B
Bash
Executable File

#!/bin/bash
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "WEB_PORT" "GELF_UDP_PORT" "GELF_TCP_PORT" "SYSLOG_UDP_PORT" "SYSLOG_TCP_PORT" "BEATS_PORT"
# PORTS SCRIPT
# Lists the exposed ports
echo "${WEB_PORT:-9000}"
echo "${GELF_UDP_PORT:-12201}"
echo "${GELF_TCP_PORT:-12202}"
echo "${SYSLOG_UDP_PORT:-514}"
echo "${SYSLOG_TCP_PORT:-514}"
echo "${BEATS_PORT:-5044}"