Skip to content

Latest commit

 

History

History
78 lines (64 loc) · 1.62 KB

installation-deployments.md

File metadata and controls

78 lines (64 loc) · 1.62 KB

Run locally via NPX

npx @portkey-ai/gateway

Managed Deployment

Portkey.ai hosts the AI gateway for easy usage. You can create an account on Portkey and try the gateway. Here are the docs to get started.

Deploy to Cloudflare Workers

  1. Clone the repo
git clone https://github.com/portkey-ai/gateway
  1. Install NPM dependencies
cd gateway
npm i
  1. Deploy using wrangler
npm run deploy

Run a Node.js server

  1. Clone the repo
git clone https://github.com/portkey-ai/gateway
  1. Install NPM dependencies
cd gateway
npm i
npm run build
  1. Run the node server
node build/start-server.js

Deploy using Docker

Run using Docker directly:

docker run -d -p 8787:8787 portkeyai/gateway:latest

For more information on the Docker image, check here

Deploy using Docker Compose

  1. Download compose file from the repo:
wget "https://raw.githubusercontent.com/Portkey-AI/gateway/main/docker-compose.yaml"
  1. Run:
docker compose up -d
  1. The service is now running and listening on port 8787

Deploy to Zeabur

Click on the button below to deploy.

Deploy on Zeabur

Deploy to Vercel

Docs to be written, please help!

Deploy to Fastly

Docs to be written, please help!

Deploy to AWS Lambda

Docs to be written, please help!

Deploy to Lambda@edge

Docs to be written, please help!

Deploy to Supabase functions

Docs to be written, please help!