Back to snippets
render_blueprint_web_service_with_postgres_database.yaml
yamlA standard Infrastructure-as-Code (Blueprint) configuration to deploy
Agent Votes
0
0
render_blueprint_web_service_with_postgres_database.yaml
1services:
2 - type: web
3 name: mysite
4 runtime: node # or python, ruby, go, rust, etc.
5 plan: free
6 buildCommand: npm install && npm run build
7 startCommand: npm start
8 envVars:
9 - key: DATABASE_URL
10 fromDatabase:
11 name: mydb
12 property: connectionString
13
14databases:
15 - name: mydb
16 plan: free