Skip to content

Commit a918855

Browse files
committed
Add render.yaml for deployment
1 parent 234abca commit a918855

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

leetcode_backend/render.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
services:
2+
- type: web
3+
name: leetcode-backend
4+
env: python
5+
buildCommand: pip install -r requirements.txt
6+
startCommand: gunicorn backend.wsgi:application --bind 0.0.0.0:$PORT
7+
envVars:
8+
- key: DJANGO_SETTINGS_MODULE
9+
value: backend.settings
10+
- key: PYTHON_VERSION
11+
value: 3.12.3
12+
- key: SECRET_KEY
13+
value: your-secret-key-here
14+
- key: DEBUG
15+
value: False

0 commit comments

Comments
 (0)