mirror of
https://gh-proxy.org/https://github.com/klinsmaya/gateway.git
synced 2026-11-10 10:07:26 +08:00
1.5 KiB
1.5 KiB
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
- Clone the repo
git clone https://github.com/portkey-ai/gateway
- Install NPM dependencies
cd gateway
npm i
- Deploy using wrangler
npm run deploy
Run a Node.js server
- Clone the repo
git clone https://github.com/portkey-ai/gateway
- Install NPM dependencies
cd gateway
npm i
npm run build
- 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
- Download compose file from the repo:
wget "https://raw.githubusercontent.com/Portkey-AI/gateway/main/docker-compose.yaml"
- Run:
docker compose up -d
- The service is now running and listening on port 8787
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!