File size: 544 Bytes
ae94395
 
 
 
 
 
4148d21
ae94395
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
services:
  - type: web
    name: adaptiveauth
    runtime: docker
    dockerfilePath: ./Dockerfile
    branch: deploy
    startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT --workers 1
    healthCheckPath: /health
    envVars:
      - key: SECRET_KEY
        generateValue: true          # Render auto-generates a secure random value
      - key: DATABASE_URL
        fromDatabase:
          name: adaptiveauth-db
          property: connectionString

databases:
  - name: adaptiveauth-db
    databaseName: adaptiveauth
    plan: free