Skip to main content
Glama
docker-entrypoint.sh774 B
#!/usr/bin/env bash set -eu main() { if [ -n "${SI__WEB__SDF_HOST:-}" ]; then echo "Info: SI__WEB__SDF_HOST supplied [ $SI__WEB__SDF_HOST ]! Registering in nginx.conf" sed -i "s^server sdf:5156^server $SI__WEB__SDF_HOST^g" "$(find /nix/store/ -path '/nix/store/*web/conf/nginx.conf')" fi if [ -n "${VITE_OTEL_EXPORTER_OTLP_ENDPOINT:-}" ]; then echo "Info: VITE_OTEL_EXPORTER_OTLP_ENDPOINT supplied [ $VITE_OTEL_EXPORTER_OTLP_ENDPOINT ]! Setting in web" projectEnvVariables=$(find /nix/store -name "projectEnvVar*.js" | head -n 1) tmp=$(mktemp) envsubst <"$projectEnvVariables" >"$tmp" mv "$tmp" "$projectEnvVariables" chmod +rx "$projectEnvVariables" fi exec @@nginx@@ -c @@conf@@ -p @@prefix@@ -g "daemon off;" "$@" } main "$@"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server