# render.yaml in your repo root
services: - type: web name: my-api runtime: node buildCommand: -weight: 500;">npm -weight: 500;">install && -weight: 500;">npm run build startCommand: -weight: 500;">npm -weight: 500;">start envVars: - key: NODE_ENV value: production - key: DATABASE_URL fromDatabase: name: my-db property: connectionString databases: - name: my-db plan: free
# render.yaml in your repo root
services: - type: web name: my-api runtime: node buildCommand: -weight: 500;">npm -weight: 500;">install && -weight: 500;">npm run build startCommand: -weight: 500;">npm -weight: 500;">start envVars: - key: NODE_ENV value: production - key: DATABASE_URL fromDatabase: name: my-db property: connectionString databases: - name: my-db plan: free
# render.yaml in your repo root
services: - type: web name: my-api runtime: node buildCommand: -weight: 500;">npm -weight: 500;">install && -weight: 500;">npm run build startCommand: -weight: 500;">npm -weight: 500;">start envVars: - key: NODE_ENV value: production - key: DATABASE_URL fromDatabase: name: my-db property: connectionString databases: - name: my-db plan: free
# List services
-weight: 500;">curl https://api.render.com/v1/services \ -H "Authorization: Bearer rnd_your_api_key" # Trigger deploy
-weight: 500;">curl -X POST https://api.render.com/v1/services/srv-abc123/deploys \ -H "Authorization: Bearer rnd_your_api_key" # Get deploy -weight: 500;">status
-weight: 500;">curl https://api.render.com/v1/services/srv-abc123/deploys \ -H "Authorization: Bearer rnd_your_api_key" | jq '.[0].-weight: 500;">status'
# List services
-weight: 500;">curl https://api.render.com/v1/services \ -H "Authorization: Bearer rnd_your_api_key" # Trigger deploy
-weight: 500;">curl -X POST https://api.render.com/v1/services/srv-abc123/deploys \ -H "Authorization: Bearer rnd_your_api_key" # Get deploy -weight: 500;">status
-weight: 500;">curl https://api.render.com/v1/services/srv-abc123/deploys \ -H "Authorization: Bearer rnd_your_api_key" | jq '.[0].-weight: 500;">status'
# List services
-weight: 500;">curl https://api.render.com/v1/services \ -H "Authorization: Bearer rnd_your_api_key" # Trigger deploy
-weight: 500;">curl -X POST https://api.render.com/v1/services/srv-abc123/deploys \ -H "Authorization: Bearer rnd_your_api_key" # Get deploy -weight: 500;">status
-weight: 500;">curl https://api.render.com/v1/services/srv-abc123/deploys \ -H "Authorization: Bearer rnd_your_api_key" | jq '.[0].-weight: 500;">status'
# render.yaml
services: - type: web name: frontend runtime: static buildCommand: -weight: 500;">npm run build staticPublishPath: ./dist routes: - type: rewrite source: /api/* destination: https://my-api.onrender.com/* - type: web name: my-api runtime: python buildCommand: -weight: 500;">pip -weight: 500;">install -r requirements.txt startCommand: gunicorn app:app databases: - name: my-db plan: free
# render.yaml
services: - type: web name: frontend runtime: static buildCommand: -weight: 500;">npm run build staticPublishPath: ./dist routes: - type: rewrite source: /api/* destination: https://my-api.onrender.com/* - type: web name: my-api runtime: python buildCommand: -weight: 500;">pip -weight: 500;">install -r requirements.txt startCommand: gunicorn app:app databases: - name: my-db plan: free
# render.yaml
services: - type: web name: frontend runtime: static buildCommand: -weight: 500;">npm run build staticPublishPath: ./dist routes: - type: rewrite source: /api/* destination: https://my-api.onrender.com/* - type: web name: my-api runtime: python buildCommand: -weight: 500;">pip -weight: 500;">install -r requirements.txt startCommand: gunicorn app:app databases: - name: my-db plan: free
services: - type: worker name: email-sender runtime: node buildCommand: -weight: 500;">npm -weight: 500;">install startCommand: node worker.js - type: cron name: daily-report runtime: python buildCommand: -weight: 500;">pip -weight: 500;">install -r requirements.txt startCommand: python report.py schedule: "0 9 * * *" # 9am daily
services: - type: worker name: email-sender runtime: node buildCommand: -weight: 500;">npm -weight: 500;">install startCommand: node worker.js - type: cron name: daily-report runtime: python buildCommand: -weight: 500;">pip -weight: 500;">install -r requirements.txt startCommand: python report.py schedule: "0 9 * * *" # 9am daily
services: - type: worker name: email-sender runtime: node buildCommand: -weight: 500;">npm -weight: 500;">install startCommand: node worker.js - type: cron name: daily-report runtime: python buildCommand: -weight: 500;">pip -weight: 500;">install -r requirements.txt startCommand: python report.py schedule: "0 9 * * *" # 9am daily
services: - type: web name: custom-app runtime: -weight: 500;">docker dockerfilePath: ./Dockerfile envVars: - key: PORT value: "8080"
services: - type: web name: custom-app runtime: -weight: 500;">docker dockerfilePath: ./Dockerfile envVars: - key: PORT value: "8080"
services: - type: web name: custom-app runtime: -weight: 500;">docker dockerfilePath: ./Dockerfile envVars: - key: PORT value: "8080"