-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
29 lines (28 loc) · 910 Bytes
/
render.yaml
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
services:
- type: web
name: server
env: node
rootDir: server
buildCommand: cd ..; node --version; npm --version; npm install; npm run heroku-postbuild; cd server; ../node_modules/.bin/sequelize db:migrate; if [ -d seeders ]; then ../node_modules/.bin/sequelize db:seed:all; fi; bin/create-admin.js Site Admin admin@test.com changeme123;
plan: free
startCommand: node ./bin/www.js
envVars:
- key: NODE_VERSION
value: 18.16.0
- key: DATABASE_URL
fromDatabase:
name: db
property: connectionString
- key: VITE_FEATURE_REGISTRATION
sync: false
- key: VITE_SITE_TITLE
sync: false
- key: SESSION_SECRET
generateValue: true
- key: SMTP_ENABLED
sync: false
databases:
- name: db
databaseName: fss # optional (Render may add a suffix)
plan: free
postgresMajorVersion: 14