2024-06-26 21:57:52 +00:00
|
|
|
services:
|
|
|
|
|
- type: web
|
|
|
|
|
name: web
|
|
|
|
|
runtime: node
|
|
|
|
|
region: oregon # optional (defaults to oregon)
|
|
|
|
|
plan: starter # optional (defaults to starter instance type)
|
|
|
|
|
branch: main # optional (defaults to master)
|
|
|
|
|
buildCommand: npm install --force && npm run build
|
|
|
|
|
startCommand: npm run db:migrate && node build/index.js
|
|
|
|
|
healthCheckPath: /
|
|
|
|
|
envVars:
|
|
|
|
|
- key: DATABASE_URL
|
|
|
|
|
fromDatabase:
|
2024-06-26 22:03:54 +00:00
|
|
|
name: db
|
|
|
|
|
property: connectionString
|
|
|
|
|
- key: REDIS_URL
|
|
|
|
|
fromDatabase:
|
|
|
|
|
name: redis
|
2024-06-26 21:57:52 +00:00
|
|
|
property: connectionString
|
|
|
|
|
- key: PUBLIC_ORIGIN
|
|
|
|
|
fromDatabase:
|
|
|
|
|
name: web
|
|
|
|
|
property: host
|
|
|
|
|
- type: redis
|
2024-06-26 21:58:14 +00:00
|
|
|
name: redis
|
2024-06-26 21:57:52 +00:00
|
|
|
ipAllowList: [] # Only allow internal connections
|
|
|
|
|
|
|
|
|
|
databases:
|
2024-06-26 22:03:54 +00:00
|
|
|
- name: db
|
2024-06-26 22:09:16 +00:00
|
|
|
databaseName: tarostack
|
2024-06-26 21:57:52 +00:00
|
|
|
ipAllowList: []
|