generated from render-examples/n8n
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
65 lines (61 loc) · 1.9 KB
/
render.yaml
File metadata and controls
65 lines (61 loc) · 1.9 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
# Use this Blueprint to deploy n8n on Render as a web
# service that uses a Postgres database to store
# workflow data.
#
# This Blueprint uses free instance types (specified by
# `plan`) for both the web service and the database. You
# can upgrade to paid instance types at any time to
# increase resources.
services:
- type: web
plan: free
# This is the runtime for services that pull a prebuilt Docker image
runtime: image
# You can give the service any name
name: n8n-service
image:
# Pulls the n8n image tagged as latest from Docker Hub
url: docker.io/n8nio/n8n:latest
# All environment variables defined below are required!
#
# You can define additional environment variables as needed.
envVars:
# Generates a base64-encoded key for
# encrypting credentials in n8n
#
# Do not modify this value after it's generated!
# If you do, you'll lose access to all credentials
# encrypted with the previous value.
- key: N8N_ENCRYPTION_KEY
generateValue: true
# These automatically populate connection details
# for the Render Postgres database defined below
- key: DB_TYPE
value: postgresdb
- key: DB_POSTGRESDB_DATABASE
fromDatabase:
name: n8n-db
property: database
- key: DB_POSTGRESDB_HOST
fromDatabase:
name: n8n-db
property: host
- key: DB_POSTGRESDB_PASSWORD
fromDatabase:
name: n8n-db
property: password
- key: DB_POSTGRESDB_USER
fromDatabase:
name: n8n-db
property: user
databases:
- name: n8n-db
plan: free
# The free instance type is limited to 1 GB of disk
# space.
#
# If you later upgrade to a paid instance type, you can
# increase the disk size to any multiple of 5 GB by
# setting the `diskSizeGB` property.
#
# diskSizeGB: 5