File size: 786 Bytes
81f3119
 
 
 
07768c8
 
 
 
 
 
 
 
 
 
bc1ddb2
07768c8
bc1ddb2
07768c8
 
 
 
 
 
 
96d3a25
 
 
07768c8
 
96d3a25
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
  - type: web
    name: ai-doc-assistant-api
    runtime: python
    plan: free
    buildCommand: pip install --upgrade pip && pip install -r requirements.txt
    startCommand: uvicorn backend.main:app --host 0.0.0.0 --port $PORT
    healthCheckPath: /
    envVars:
      - key: PYTHON_VERSION
        value: 3.11.9
      - key: JWT_SECRET_KEY
        generateValue: true
      - key: DB_NAME
        value: /tmp/documents.db
      - key: DATA_DIR
        value: /tmp
      - key: FRONTEND_URL
        value: https://ai-doc-assistant-web.onrender.com
      - key: ADMIN_USERNAME
        sync: false
      - key: ADMIN_PASSWORD
        sync: false

  - type: web
    name: ai-doc-assistant-web
    env: static
    rootDir: frontend
    buildCommand: ""
    staticPublishPath: .