-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
35 lines (33 loc) · 825 Bytes
/
render.yaml
File metadata and controls
35 lines (33 loc) · 825 Bytes
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
31
32
33
34
35
services:
- type: web
name: chessforge-backend
env: python
plan: free
buildCommand: pip install -r requirements.txt
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHON_VERSION
value: 3.11.0
- key: SECRET_KEY
generateValue: true
- key: DEBUG
value: false
- key: DATABASE_URL
fromDatabase:
name: chessforge-db
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: chessforge-redis
property: connectionString
- type: redis
name: chessforge-redis
plan: free
maxmemoryPolicy: allkeys-lru
ipAllowList: []
databases:
- name: chessforge-db
databaseName: chessforge
user: chessforge_user
plan: free