2023-06-15 16:08:34 +10:00
|
|
|
services:
|
|
|
|
- type: web
|
2023-06-15 16:17:49 +10:00
|
|
|
name: Owlbear Rodeo Legacy
|
2023-06-15 16:08:34 +10:00
|
|
|
runtime: static
|
|
|
|
buildCommand: yarn build
|
|
|
|
staticPublishPath: ./build
|
|
|
|
pullRequestPreviewsEnabled: false
|
2023-06-16 14:01:47 +10:00
|
|
|
branch: main
|
2023-06-15 16:08:34 +10: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
|
2023-06-15 16:38:58 +10:00
|
|
|
envVars:
|
|
|
|
- key: REACT_APP_BROKER_URL
|
|
|
|
fromService:
|
|
|
|
type: web
|
|
|
|
name: "Owlbear Rodeo Backend"
|
|
|
|
envVarKey: RENDER_EXTERNAL_URL
|
|
|
|
- key: REACT_APP_MAINTENANCE
|
|
|
|
value: false
|
|
|
|
- key: REACT_APP_VERSION
|
|
|
|
value: "1.10.2"
|
2023-06-15 16:08:34 +10:00
|
|
|
# A Docker web service
|
|
|
|
- type: web
|
2023-06-15 16:17:13 +10:00
|
|
|
name: Owlbear Rodeo Backend
|
2023-06-15 16:38:58 +10:00
|
|
|
runtime: docker
|
2023-06-15 16:08:34 +10:00
|
|
|
region: oregon # optional (defaults to oregon) check other regions here: https://render.com/docs/regions
|
|
|
|
plan: free
|
2023-06-16 14:01:47 +10:00
|
|
|
branch: main
|
2023-06-15 16:41:54 +10:00
|
|
|
rootDir: ./backend
|
|
|
|
dockerfilePath: ./Dockerfile
|
2023-06-16 14:01:47 +10:00
|
|
|
numInstances: 1
|
2023-06-15 16:08:34 +10:00
|
|
|
healthCheckPath: /health
|
|
|
|
envVars:
|
|
|
|
- key: ORIGIN_WHITELIST
|
2023-06-15 16:49:40 +10:00
|
|
|
fromService:
|
|
|
|
type: web
|
|
|
|
name: "Owlbear Rodeo Legacy"
|
|
|
|
envVarKey: RENDER_EXTERNAL_HOSTNAME
|
2023-06-15 16:08:34 +10:00
|
|
|
- key: PORT
|
|
|
|
value: 9000
|