/
fly.toml
53 lines (45 loc) · 1.28 KB
/
fly.toml
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
# fly.toml file generated for reorx-n8n on 2022-10-13T22:12:56+08:00
app = "reorx-n8n"
primary_region = "sin"
[[vm]]
size = "shared-cpu-2x"
[build]
image = "n8nio/n8n:1.27.1"
[env]
DB_TYPE = "sqlite"
# sqlite:
DB_SQLITE_VACUUM_ON_STARTUP = "true"
# postgres:
#DB_POSTGRESDB_DATABASE = "postgres"
#DB_POSTGRESDB_PORT = 5432
#DB_POSTGRESDB_SCHEMA = "public"
#DB_TYPE = "postgresdb"
# https://docs.n8n.io/hosting/environment-variables/environment-variables/#executions
EXECUTIONS_DATA_MAX_AGE = 8
EXECUTIONS_DATA_PRUNE = "true"
EXECUTIONS_DATA_PRUNE_MAX_COUNT = 1000
EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS = "false"
#EXECUTIONS_DATA_SAVE_ON_ERROR = "none"
#EXECUTIONS_DATA_SAVE_ON_SUCCESS = "none"
#EXECUTIONS_DATA_SAVE_ON_PROGRESS = "false"
GENERIC_TIMEZONE = "Asia/Shanghai"
N8N_LOG_LEVEL = "verbose"
PORT = 5678
TZ = "Asia/Shanghai"
VUE_APP_URL_BASE_API = "https://n8n.reorx.com/"
WEBHOOK_URL = "https://n8n.reorx.com/"
# secrets
#DB_POSTGRESDB_HOST
#DB_POSTGRESDB_USER
#DB_POSTGRESDB_PASSWORD
#N8N_ENCRYPTION_KEY
[http_service]
internal_port = 5678
force_https = true
auto_stop_machines = false
auto_start_machines = false
min_machines_running = 1
processes = ["app"]
[mounts]
source="n8n_data"
destination="/home/node/.n8n"