#!/bin/sh
# Substitute JWT_SECRET into Kong declarative config at runtime
sed "s/\${JWT_SECRET}/${JWT_SECRET:-dev-jwt-secret}/g" /etc/kong/kong.yml.tpl > /etc/kong/kong.yml
exec /docker-entrypoint.sh kong docker-start
