Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
|
@@ -28,6 +28,14 @@ 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 |
|
| 32 |
# 暴露端口
|
| 33 |
EXPOSE 5002 5003
|
|
|
|
| 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 \
|
| 34 |
+
REDIS_USERNAME=default \
|
| 35 |
+
REDIS_PASSWORD=1TCORNst2g2wqvn9FekMSpfYM03She12 \
|
| 36 |
+
REDIS_USE_SSL=false \
|
| 37 |
+
REDIS_DB=0 \
|
| 38 |
+
CELERY_BROKER_URL=redis://:redispass@redis-14843.c1.us-west-2-2.ec2.redns.redis-cloud.com:14843/1 \
|
| 39 |
|
| 40 |
# 暴露端口
|
| 41 |
EXPOSE 5002 5003
|