forked from RocketChat/Rocket.Chat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
51 lines (43 loc) · 1.96 KB
/
render.yaml
File metadata and controls
51 lines (43 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Render.com deployment configuration for Rocket.Chat
# Documentation: https://docs.render.com/blueprint-spec
services:
- type: web
name: rocketchat
runtime: image
image:
url: docker.io/rocketchat/rocket.chat:latest
plan: free # Note: Free tier has limited resources; upgrade for production use
region: oregon # Change to your preferred region
healthCheckPath: /api/info
envVars:
# MongoDB connection string - REQUIRED
# Use MongoDB Atlas (https://www.mongodb.com/atlas) with replica set enabled
# Format: mongodb+srv://user:[email protected]/rocketchat?retryWrites=true&w=majority
- key: MONGO_URL
value: "SET_IN_RENDER_DASHBOARD" # Replace in Render dashboard with your MongoDB Atlas connection string
# MongoDB Oplog URL - REQUIRED for real-time features
# Format: mongodb+srv://user:[email protected]/local?retryWrites=true&w=majority&authSource=admin
- key: MONGO_OPLOG_URL
value: "SET_IN_RENDER_DASHBOARD" # Replace in Render dashboard with your MongoDB Atlas oplog URL
# Public URL of your Rocket.Chat instance
# Uses Render's service URL pattern
- key: ROOT_URL
value: https://rocketchat.onrender.com
# NOTE: PORT is intentionally not set here - Render provides it automatically
# Rocket.Chat will read the PORT environment variable from Render
# Node environment
- key: NODE_ENV
value: production
# Deployment method identifier
- key: DEPLOY_METHOD
value: render
# Optional: Initial admin setup (uncomment and set in dashboard if needed)
# - key: ADMIN_USERNAME
# sync: false
# - key: ADMIN_PASS
# sync: false
# - key: ADMIN_EMAIL
# sync: false
# Note: Persistent disk for file uploads requires a paid plan
# For free tier, file uploads will not persist across deploys
# Upgrade to starter plan and add disk config for production use