Skip to content

Commit

Permalink
feat: one click deploy to vercel and render (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
hudy9x authored Jun 24, 2024
1 parent 70083d0 commit f70814b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ As mentioned before, this app includes some essential features for a small team

Check out [the setup guide](https://www.namviek.com/#download). If you encounter any errors during the setup process, you can refer to the full guide [here](https://docs.namviek.com/doc/installation).

## Deploy

For easy deployment progress

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fhudy9x%2Fnamviek%2Ftree%2Fmain&project-name=namviek&build-command=npm%20run%20generate2%20%26%26%20npx%20nx%20build%20ui-app%20--prod&output-directory=dist%2Fpackages%2Fui-app%2F.next&install-command=npm%20install&env=NEXT_PUBLIC_BE_GATEWAY,NEXT_PUBLIC_FE_GATEWAY,NEXT_PUBLIC_APP_NAME)

[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/hudy9x/namviek/tree/main)

36 changes: 36 additions & 0 deletions render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
services:
- type: web
name: namviek
runtime: node
repo: https://github.com/hudy9x/namviek
plan: free
envVars:
- key: REDIS_HOST
sync: false
- key: NEXT_PUBLIC_LIVEKIT_URL
sync: false
- key: NEXT_PUBLIC_FE_GATEWAY
sync: false
- key: MONGODB_URL
sync: false
- key: LIVEKIT_API_SECRET
sync: false
- key: LIVEKIT_API_KEY
sync: false
- key: JWT_VERIFY_USER_LINK_TOKEN_EXPIRED
sync: false
- key: JWT_TOKEN_EXPIRED
sync: false
- key: JWT_SECRET_KEY
sync: false
- key: JWT_REFRESH_KEY
sync: false
- key: JWT_REFRESH_EXPIRED
sync: false
region: singapore
buildCommand: yarn --frozen-lockfile install; yarn pushdb2; yarn generate2; yarn
build:be
startCommand: yarn prod:be
healthCheckPath: /check-health
version: "1"

0 comments on commit f70814b

Please sign in to comment.