mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
testing different structure
This commit is contained in:
parent
754799a5ed
commit
aaf15da491
2 changed files with 13 additions and 8 deletions
2
.github/workflows/deploy_fastapi_backend.yml
vendored
2
.github/workflows/deploy_fastapi_backend.yml
vendored
|
|
@ -67,4 +67,4 @@ jobs:
|
||||||
SECRET_KEY: ${{ secrets.NEXTAUTH_SECRET }}
|
SECRET_KEY: ${{ secrets.NEXTAUTH_SECRET }}
|
||||||
PLAN_TRIGGER_BUCKET: 'retrofit-plan-inputs-${{ github.ref_name }}'
|
PLAN_TRIGGER_BUCKET: 'retrofit-plan-inputs-${{ github.ref_name }}'
|
||||||
DOMAIN_NAME: ${{ steps.set_domain.outputs.domain }}
|
DOMAIN_NAME: ${{ steps.set_domain.outputs.domain }}
|
||||||
run: cd backend && sls deploy --stage ${{ github.ref_name }} --verbose
|
run: sls deploy --stage ${{ github.ref_name }} --verbose
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,15 @@ provider:
|
||||||
|
|
||||||
package:
|
package:
|
||||||
individually: true
|
individually: true
|
||||||
include:
|
# include:
|
||||||
- Model/backend/**
|
# - backend/**
|
||||||
# Might need to refine the paths that are included
|
# # Might need to refine the paths that are included
|
||||||
- Model/model_data/**
|
# - model_data/**
|
||||||
|
exclude:
|
||||||
|
- model_data/local_data/**
|
||||||
|
- infrastructure/**
|
||||||
|
- data_collection/**
|
||||||
|
- node_modules/**
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- serverless-python-requirements
|
- serverless-python-requirements
|
||||||
|
|
@ -27,10 +32,10 @@ plugins:
|
||||||
custom:
|
custom:
|
||||||
pythonRequirements:
|
pythonRequirements:
|
||||||
dockerizePip: true
|
dockerizePip: true
|
||||||
dockerFile: docker/Dockerfile
|
dockerFile: backend/docker/Dockerfile
|
||||||
useDocker: true
|
useDocker: true
|
||||||
dockerSsh: true
|
dockerSsh: true
|
||||||
fileName: requirements/base.txt
|
# fileName: backend/requirements/base.txt
|
||||||
dockerBuildCmdExtraArgs:
|
dockerBuildCmdExtraArgs:
|
||||||
- '--progress=plain'
|
- '--progress=plain'
|
||||||
customDomain:
|
customDomain:
|
||||||
|
|
@ -40,7 +45,7 @@ custom:
|
||||||
|
|
||||||
functions:
|
functions:
|
||||||
app:
|
app:
|
||||||
handler: app.main.handler
|
handler: backend.app.main.handler
|
||||||
events:
|
events:
|
||||||
- http:
|
- http:
|
||||||
path: /{proxy+}
|
path: /{proxy+}
|
||||||
Loading…
Add table
Reference in a new issue