-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
45 lines (43 loc) · 1.55 KB
/
Copy pathrender.yaml
File metadata and controls
45 lines (43 loc) · 1.55 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# yaml-language-server: $schema=https://render.com/schema/render.yaml.json
#
# Vane on Render — privacy-focused AI answering engine
# Upstream: https://github.com/ItzCrazyKns/Vane
# Template: https://github.com/render-examples/vane
#
# Deploy: https://render.com/deploy-template/api/github/start?template_repo=vane
#
# Single Docker image bundles Vane (Next.js) + SearXNG (localhost:8080).
# SQLite and uploads live on a persistent disk at /home/vane/data.
#
# DATA_DIR is the app ROOT (/home/vane), not the disk mount. Vane derives its
# paths from it: DB at $DATA_DIR/data/db.sqlite, config at $DATA_DIR/data/config.json,
# uploads at $DATA_DIR/data/uploads — all of which resolve onto the disk mounted
# at /home/vane/data. Migrations are read from $DATA_DIR/drizzle (baked into the
# image). Setting DATA_DIR=/home/vane/data double-nests these paths and breaks
# both the DB open and the migration lookup on first boot.
previews:
generation: off
projects:
- name: vane
environments:
- name: production
services:
- type: web
name: vane
runtime: docker
plan: standard
region: oregon
dockerfilePath: ./Dockerfile
dockerContext: .
healthCheckPath: /
disk:
name: vane-data
mountPath: /home/vane/data
sizeGB: 1
envVars:
- key: NODE_ENV
value: production
- key: DATA_DIR
value: /home/vane
- key: PORT
value: "3000"