Browse Source

update repo

drawing-pad
Stephanie Gredell 1 month ago
parent
commit
d3d0fee0de
  1. 19
      .do/app.yaml

19
.do/app.yaml

@ -6,19 +6,19 @@ services:
- name: backend - name: backend
source_dir: backend source_dir: backend
github: github:
repo: YOUR_GITHUB_USERNAME/kiddos repo: codegirl-007/kiddos
branch: main branch: main
deploy_on_push: true deploy_on_push: true
build_command: npm install && npm run build build_command: npm install && npm run build
run_command: npm run migrate && npm start run_command: npm run migrate && npm start
environment_slug: node-js environment_slug: node-js
instance_size_slug: basic-xxs instance_size_slug: basic-xxs
instance_count: 1 instance_count: 1
http_port: 3000 http_port: 3000
envs: envs:
- key: NODE_ENV - key: NODE_ENV
value: production value: production
@ -46,7 +46,7 @@ services:
type: SECRET type: SECRET
- key: CORS_ORIGIN - key: CORS_ORIGIN
value: ${APP_URL} value: ${APP_URL}
health_check: health_check:
http_path: /api/health http_path: /api/health
@ -58,14 +58,13 @@ static_sites:
repo: YOUR_GITHUB_USERNAME/kiddos repo: YOUR_GITHUB_USERNAME/kiddos
branch: main branch: main
deploy_on_push: true deploy_on_push: true
build_command: npm install && npm run build build_command: npm install && npm run build
output_dir: dist output_dir: dist
envs: envs:
- key: VITE_API_URL - key: VITE_API_URL
value: ${backend.PUBLIC_URL} value: ${backend.PUBLIC_URL}
routes: routes:
- path: / - path: /

Loading…
Cancel
Save