Repix Logo
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

  1. Go to Render Dashboard and click NewWeb Service
  2. Connect your GitHub/GitLab/Bitbucket repository
  3. Select the bansal/repix repository (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

SettingValue
Namerepix (or your choice)
RegionChoose closest to your users
Instance TypeFree or Starter ($7/mo) for production

4. Environment Variables

Add under Environment:

VariableValueRequired
NODE_ENVproductionYes
PORT3210Yes (Render sets this automatically)
SOURCE_PREFIXhttps://No
IMAGE_MAX_WIDTH2048No
IMAGE_MAX_HEIGHT2048No
IMAGE_DEFAULT_QUALITY85No

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

  1. Go to your service → SettingsCustom Domains
  2. Add your domain (e.g., images.yourdomain.com)
  3. 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.

Copyright © 2026