Koyeb Deployment
Deploy PGWIZ-MD to Koyeb with Docker
One-time setup: Add a Dockerfile to your forked repo, then deploy with one click!
Quick Setup (5 minutes)
1
Fork PGWIZ-MD
2
Add Dockerfile to Your Fork
Go to your fork → Add file → Create new file → Name it Dockerfile
📝 Quick link: Add Dockerfile to your fork
3
Paste These Files
Dockerfile:
FROM node:20-bullseye RUN apt-get update && apt-get install -y git ffmpeg curl imagemagick webp RUN npm install -g pm2 WORKDIR /app COPY package*.json ./ RUN npm install --legacy-peer-deps COPY . . EXPOSE 5000 CMD ["pm2-runtime", "start", "index.js", "--name", "pgwiz-md"]
koyeb.yaml (optional - for Blueprint deploy):
name: pgwiz-md
type: web
instance_types:
- free
definition:
git:
branch: main
buildpack: {}
docker:
dockerfile: Dockerfile
regions:
- fra
ports:
- port: 5000
protocol: http
env:
- key: SESSION_ID
value: "your_session_id"
- key: PORT
value: "5000"
- key: DB_URL
value: "./baileys_store.db"
4