it0/packages/gateway/config/docker-entrypoint.sh

5 lines
218 B
Bash

#!/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