#!/usr/bin/env bash
#
# Copyright 2025 Confluent Inc.
#
set -o errexit

echo "===> Launching Gateway"

# Set config file path
export GATEWAY_CONFIG_FILE="${GATEWAY_CONFIG_DIR}/shared/gateway.yaml"
echo "===> Using config file: ${GATEWAY_CONFIG_FILE}"

# Execute command with arguments
echo "===> Executing command with provided arguments"
exec "/etc/confluent/docker/run"
