Hi, currently the tyk container expects the conf file to be at /opt/tyk-gateway/tyk.conf though the binary can accept a --conf command line switch. This restriction is imposed through hard wiring inside the entrypoint.sh. It'd be great if this can be considered from an environment variable, like the TYK_GW_SECRET currently does.
As seen in master branch (entrypoint.sh)
TYKCONF=/opt/tyk-gateway/tyk.conf
# for backwards compatibility if TYKSECRET is not empty, then set TYK_GW_SECRET to TYKSECRET
if [[ -n "${TYKSECRET}" ]]; then
export TYK_GW_SECRET="${TYKSECRET}"
fi
Hi, currently the tyk container expects the conf file to be at
/opt/tyk-gateway/tyk.conf
though the binary can accept a--conf
command line switch. This restriction is imposed through hard wiring inside theentrypoint.sh
. It'd be great if this can be considered from an environment variable, like theTYK_GW_SECRET
currently does.As seen in master branch (entrypoint.sh)
Thank you