Compare commits

...

4 Commits

Author SHA1 Message Date
Ephraim Atta-Duncan 6b3696d879 docs: add render deploy button to readme 2023-08-10 01:53:05 +00:00
Ephraim Atta-Duncan ca1522a31e Merge branch 'main' into feat/add-render-deploy 2023-08-10 01:52:25 +00:00
Ephraim Atta-Duncan 201c0ac22a chore: update start command for render deployment 2023-08-10 01:34:42 +00:00
Ephraim Atta-Duncan c573e15ac2 Add render.yaml 2023-08-10 00:52:43 +00:00
3 changed files with 68 additions and 1 deletions
+4
View File
@@ -212,6 +212,10 @@ We support a variety of deployment methods, and are actively working on adding m
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/DjrRRX) [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/DjrRRX)
## Render
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](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
+1 -1
View File
@@ -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
View 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