orztv commited on
Commit
f0cbeae
·
1 Parent(s): 59802b0
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -8,7 +8,7 @@ ARG CACHEBUST=1
8
 
9
  # 设置构建参数,提供默认值
10
  ARG WEBHOOK_URL=https://你的hf账户名-空间名.hf.space/
11
- ARG POSTGRESDB_PORT
12
 
13
  # 设置基本环境变量
14
  ENV WEBHOOK_URL=${WEBHOOK_URL} \
@@ -20,7 +20,7 @@ ENV WEBHOOK_URL=${WEBHOOK_URL} \
20
  QUEUE_HEALTH_CHECK_ACTIVE=true \
21
  N8N_PAYLOAD_SIZE_MAX=256 \
22
  DB_TYPE=postgresdb \
23
- DB_POSTGRESDB_PORT=5432 \
24
  VIRTUAL_ENV=/home/pn/venv \
25
  PATH="/home/pn/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH"
26
 
 
8
 
9
  # 设置构建参数,提供默认值
10
  ARG WEBHOOK_URL=https://你的hf账户名-空间名.hf.space/
11
+ ARG POSTGRESDB_PORT=5432
12
 
13
  # 设置基本环境变量
14
  ENV WEBHOOK_URL=${WEBHOOK_URL} \
 
20
  QUEUE_HEALTH_CHECK_ACTIVE=true \
21
  N8N_PAYLOAD_SIZE_MAX=256 \
22
  DB_TYPE=postgresdb \
23
+ DB_POSTGRESDB_PORT=${POSTGRESDB_PORT} \
24
  VIRTUAL_ENV=/home/pn/venv \
25
  PATH="/home/pn/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH"
26