Configure InstaTunnel with config files and environment variables for persistent settings.
Create a global config file at ~/.instatunnel.yaml:
💡 Tip: Config file is automatically loaded if present in your home directory.
Use a custom config file location with the --config flag:
InstaTunnel automatically reads environment variables that match config keys:
🔒 Security: Never commit API keys to version control. Use environment variables for sensitive data.
InstaTunnel follows this configuration priority (highest priority first):
--api-key your_keyAPI_KEY=your_key~/.instatunnel.yaml| Option | Flag | Env Variable | Description |
|---|---|---|---|
api_key | --api-key | API_KEY | Your InstaTunnel API key |
server_url | --server | SERVER_URL | InstaTunnel server URL |
🎯 Best Practice: Store your API key in the config file (~/.instatunnel.yaml) or environment variable for convenience. Use command-line flags for temporary overrides.
Consultez les offres puis suivez un guide de demarrage.
For MCP endpoints on Pro/Business, use instatunnel 8787 --mcp.