mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
Merge pull request #251 from documenso/docs/add-render-deploy
docs: add render one click deploy button
This commit is contained in:
@ -224,6 +224,10 @@ We support a variety of deployment methods, and are actively working on adding m
|
|||||||
|
|
||||||
[](https://railway.app/template/DjrRRX)
|
[](https://railway.app/template/DjrRRX)
|
||||||
|
|
||||||
|
## Render
|
||||||
|
|
||||||
|
[](https://render.com/deploy?repo=https://github.com/documenso/documenso)
|
||||||
|
|
||||||
# Troubleshooting
|
# Troubleshooting
|
||||||
|
|
||||||
## I'm not receiving any emails when using the developer quickstart
|
## I'm not receiving any emails when using the developer quickstart
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start -p $PORT",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"db-studio": "prisma db studio",
|
"db-studio": "prisma db studio",
|
||||||
"stripe:listen": "stripe listen --forward-to localhost:3000/api/stripe/webhook"
|
"stripe:listen": "stripe listen --forward-to localhost:3000/api/stripe/webhook"
|
||||||
|
|||||||
63
render.yaml
Normal file
63
render.yaml
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
services:
|
||||||
|
- type: web
|
||||||
|
name: documenso-app
|
||||||
|
env: node
|
||||||
|
plan: free
|
||||||
|
buildCommand: npm i turbo && npm install --package-lock-only && npm ci && npm run build
|
||||||
|
startCommand: npx prisma migrate deploy; npm run start
|
||||||
|
healthCheckPath: /api/health
|
||||||
|
|
||||||
|
envVars:
|
||||||
|
- key: NODE_VERSION
|
||||||
|
value: 18.17.0
|
||||||
|
|
||||||
|
- key: DATABASE_URL
|
||||||
|
fromDatabase:
|
||||||
|
name: documenso-db
|
||||||
|
property: connectionString
|
||||||
|
|
||||||
|
- key: NEXT_PUBLIC_WEBAPP_URL
|
||||||
|
fromService:
|
||||||
|
name: documenso-app
|
||||||
|
type: web
|
||||||
|
envVarKey: RENDER_EXTERNAL_URL
|
||||||
|
|
||||||
|
- key: NEXTAUTH_SECRET
|
||||||
|
generateValue: true
|
||||||
|
|
||||||
|
- key: NEXTAUTH_URL
|
||||||
|
fromService:
|
||||||
|
name: documenso-app
|
||||||
|
type: web
|
||||||
|
envVarKey: RENDER_EXTERNAL_URL
|
||||||
|
|
||||||
|
- key: SENDGRID_API_KEY
|
||||||
|
sync: false
|
||||||
|
- key: SMTP_MAIL_HOST
|
||||||
|
sync: false
|
||||||
|
- key: SMTP_MAIL_PORT
|
||||||
|
sync: false
|
||||||
|
- key: SMTP_MAIL_USER
|
||||||
|
sync: false
|
||||||
|
- key: SMTP_MAIL_PASSWORD
|
||||||
|
sync: false
|
||||||
|
- key: MAIL_FROM
|
||||||
|
sync: false
|
||||||
|
|
||||||
|
- key: NEXT_PUBLIC_ALLOW_SUBSCRIPTIONS
|
||||||
|
value: false
|
||||||
|
- key: STRIPE_API_KEY
|
||||||
|
sync: false
|
||||||
|
- key: STRIPE_WEBHOOK_SECRET
|
||||||
|
sync: false
|
||||||
|
- key: NEXT_PUBLIC_STRIPE_COMMUNITY_PLAN_MONTHLY_PRICE_ID
|
||||||
|
sync: false
|
||||||
|
- key: NEXT_PUBLIC_STRIPE_COMMUNITY_PLAN_YEARLY_PRICE_ID
|
||||||
|
sync: false
|
||||||
|
|
||||||
|
- key: NEXT_PUBLIC_ALLOW_SIGNUP
|
||||||
|
value: true
|
||||||
|
|
||||||
|
databases:
|
||||||
|
- name: documenso-db
|
||||||
|
plan: free
|
||||||
Reference in New Issue
Block a user