forked from CoreBunch/Instatic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
27 lines (27 loc) · 741 Bytes
/
Copy pathrender.yaml
File metadata and controls
27 lines (27 loc) · 741 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
services:
- type: web
name: instatic
runtime: image
image:
url: ghcr.io/corebunch/instatic:latest
plan: starter
numInstances: 1
healthCheckPath: /health
autoDeployTrigger: off
envVars:
- key: PORT
value: "10000"
- key: DATABASE_URL
value: sqlite:/app/storage/data/cms.db
- key: UPLOADS_DIR
value: /app/storage/uploads
- key: STATIC_DIR
value: /app/dist
# Render auto-injects RENDER_EXTERNAL_URL at runtime; Instatic uses it as
# the CSRF public origin, so no proxy/origin config is needed here.
- key: INSTATIC_SECRET_KEY
generateValue: true
disk:
name: storage
mountPath: /app/storage
sizeGB: 10