Repository navigation
Expand file tree
/
Copy pathrender.yaml
More file actions
75 lines (72 loc) · 2.66 KB
/
Copy pathrender.yaml
File metadata and controls
75 lines (72 loc) · 2.66 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# yaml-language-server: $schema=https://render.com/schema/render.yaml.json
#
# Langflow wrapper. This repo does not contain the app.
# The service pulls the official image from Docker Hub at a pinned version.
# To upgrade, bump the image tag below and push.
# Upstream: https://github.com/langflow-ai/langflow
previews:
generation: off
projects:
- name: langflow
environments:
- name: production
services:
- type: web
name: langflow
runtime: image
image:
url: docker.io/langflowai/langflow:1.13.1
plan: standard
region: oregon
numInstances: 1
healthCheckPath: /health_check
disk:
# Config (including the saved secret key) and uploaded files.
# Flows, users, and messages live in Postgres.
name: langflow-data
mountPath: /app/data
sizeGB: 5
envVars:
- key: LANGFLOW_HOST
value: 0.0.0.0
- key: LANGFLOW_PORT
value: "7860"
- key: LANGFLOW_DATABASE_URL
fromDatabase:
name: langflow-db
property: connectionString
- key: LANGFLOW_CONFIG_DIR
value: /app/data/.langflow
# Encrypts API keys saved in Langflow. Never change it after you
# store credentials.
- key: LANGFLOW_SECRET_KEY
generateValue: true
# Require sign-in. Auto-login would make every visitor an admin.
- key: LANGFLOW_AUTO_LOGIN
value: "false"
- key: LANGFLOW_SUPERUSER
value: admin
- key: LANGFLOW_SUPERUSER_PASSWORD
generateValue: true
- key: LANGFLOW_NEW_USER_IS_ACTIVE
value: "false"
# Langflow runs custom component code on the server. Only admins may
# write it, so other users cannot run arbitrary code on this host.
- key: LANGFLOW_CUSTOM_COMPONENT_ADMIN_ONLY
value: "true"
# Only the service itself may call the API from a browser.
- key: LANGFLOW_CORS_ORIGINS
fromService:
name: langflow
type: web
envVarKey: RENDER_EXTERNAL_URL
- key: DO_NOT_TRACK
value: "true"
databases:
- name: langflow-db
databaseName: langflow
user: langflow
plan: basic-256mb
region: oregon
postgresMajorVersion: "16"
ipAllowList: []