-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
28 lines (28 loc) · 1 KB
/
Copy pathrender.yaml
File metadata and controls
28 lines (28 loc) · 1 KB
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
services:
- type: web
name: all-video-downloader-backend
runtime: docker
rootDir: backend
plan: free
healthCheckPath: /api/health/
autoDeploy: true
envVars:
- key: DJANGO_DEBUG
value: "0"
- key: DJANGO_SECRET_KEY
generateValue: true
- key: API_KEY
generateValue: true
- key: ALLOWED_HOSTS
value: all-video-downloader-backend-0klz.onrender.com
- key: CORS_ALLOWED_ORIGINS
value: https://quickdownload.lovable.app,http://localhost:8080
- key: PUBLIC_BASE_URL
value: https://all-video-downloader-backend-0klz.onrender.com
- key: MEDIA_ROOT
value: /tmp/ytdlp-media
# Real cookies must be uploaded via Render Dashboard → Environment → Secret Files
# (filename: cookies.txt). Render mounts secret files under /etc/secrets/.
# NEVER commit real cookies to git — the repo's backend/cookies.txt is a placeholder.
- key: YTDLP_COOKIES_FILE
value: /etc/secrets/cookies.txt