2023-06-15 02:08:34 -04:00
|
|
|
services:
|
|
|
|
- type: web
|
2023-06-15 02:17:49 -04:00
|
|
|
name: Owlbear Rodeo Legacy
|
2023-06-15 02:08:34 -04:00
|
|
|
runtime: static
|
|
|
|
buildCommand: yarn build
|
|
|
|
staticPublishPath: ./build
|
|
|
|
pullRequestPreviewsEnabled: false
|
2023-06-15 02:14:59 -04:00
|
|
|
branch: feature/open-source
|
2023-06-15 02:08:34 -04:00
|
|
|
buildFilter:
|
|
|
|
paths:
|
|
|
|
- src/**/*.js
|
|
|
|
- src/**/*.ts
|
|
|
|
ignoredPaths:
|
|
|
|
- src/**/*.test.js
|
|
|
|
routes:
|
|
|
|
- type: rewrite
|
|
|
|
source: /*
|
|
|
|
destination: /index.html
|
|
|
|
headers:
|
|
|
|
- path: /*
|
|
|
|
name: X-Frame-Options
|
|
|
|
value: sameorigin
|
|
|
|
- path: /*
|
|
|
|
name: X-Robots-Tag
|
|
|
|
value: noindex
|
|
|
|
# A Docker web service
|
|
|
|
- type: web
|
2023-06-15 02:17:13 -04:00
|
|
|
name: Owlbear Rodeo Backend
|
2023-06-15 02:08:34 -04:00
|
|
|
env: docker
|
|
|
|
region: oregon # optional (defaults to oregon) check other regions here: https://render.com/docs/regions
|
|
|
|
plan: free
|
2023-06-15 02:17:13 -04:00
|
|
|
branch: feature/open-source # optional (defaults to master)
|
2023-06-15 02:19:54 -04:00
|
|
|
rootDir: .
|
2023-06-15 02:08:34 -04:00
|
|
|
dockerfilePath: ./backend/Dockerfile
|
|
|
|
numInstances: 1 # optional (defaults to 1)
|
|
|
|
healthCheckPath: /health
|
|
|
|
envVars:
|
|
|
|
- key: ORIGIN_WHITELIST
|
|
|
|
value: $RENDER_EXTERNAL_HOSTNAME
|
|
|
|
- key: PORT
|
|
|
|
value: 9000
|