Deployment
Render
Deploy Repix to Render.com as a Web Service.
Render supports Docker deployments. Repix's Dockerfile works out of the box.
Deploy Steps
1. Create a Web Service
- Go to Render Dashboard and click New → Web Service
- Connect your GitHub/GitLab/Bitbucket repository
- Select the
bansal/repixrepository (or your fork)
2. Configure Build
- Environment: Select Docker
- Dockerfile Path:
Dockerfile(default, leave empty if at root) - Docker Context:
.(default)
Render will use BuildKit to build your image on each deploy.
3. Configure Service
| Setting | Value |
|---|---|
| Name | repix (or your choice) |
| Region | Choose closest to your users |
| Instance Type | Free or Starter ($7/mo) for production |
4. Environment Variables
Add under Environment:
| Variable | Value | Required |
|---|---|---|
NODE_ENV | production | Yes |
PORT | 3210 | Yes (Render sets this automatically) |
SOURCE_PREFIX | https:// | No |
IMAGE_MAX_WIDTH | 2048 | No |
IMAGE_MAX_HEIGHT | 2048 | No |
IMAGE_DEFAULT_QUALITY | 85 | No |
5. Deploy
Click Create Web Service. Render builds and deploys your app. Your service will be available at:
https://repix-xxxx.onrender.com
The free tier spins down after 15 minutes of inactivity. For always-on, use the Starter plan.
Custom Domain
- Go to your service → Settings → Custom Domains
- Add your domain (e.g.,
images.yourdomain.com) - Add the CNAME record as shown in Render's DNS instructions
Health Check
Render uses the Dockerfile's HEALTHCHECK. Repix exposes /health for liveness. No extra configuration needed.

