yixian56 commited on
Commit
dc3228f
·
verified ·
1 Parent(s): d61d7bc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -28,6 +28,10 @@ ENV SERVER_PORT=5002 \
28
  DB_PASSWORD=npg_3lGLyEcmAr5V \
29
  DB_HOST=ep-empty-rice-a5phzuri-pooler.us-east-2.aws.neon.tech \
30
  DB_PORT=5432 \
 
 
 
 
31
  # 更新Redis连接
32
  REDIS_HOST=redis-14843.c1.us-west-2-2.ec2.redns.redis-cloud.com \
33
  REDIS_PORT=14843 \
 
28
  DB_PASSWORD=npg_3lGLyEcmAr5V \
29
  DB_HOST=ep-empty-rice-a5phzuri-pooler.us-east-2.aws.neon.tech \
30
  DB_PORT=5432 \
31
+ DB_SSLMODE=require \
32
+ DB_SSL_MODE=require \
33
+ PGSSLMODE=require \
34
+ PGHOST_CONNECTION_MODE=IPv4 \
35
  # 更新Redis连接
36
  REDIS_HOST=redis-14843.c1.us-west-2-2.ec2.redns.redis-cloud.com \
37
  REDIS_PORT=14843 \