瀏覽代碼

feat: add the redis url to redis

yrluke 1 年之前
父節點
當前提交
e2c97a21ec
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compose.yaml

+ 1 - 0
compose.yaml

@@ -119,6 +119,7 @@ services:
     - ${SAFELINE_DIR}/resources/cache:/usr/local/nginx/cache
     - /etc/resolv.conf:/etc/resolv.conf
     environment:
+    - REDIS_URL=redis://:${REDIS_PASSWORD}@safeline-redis:6379/0
     - MGT_ADDR=${SUBNET_PREFIX}.4:9002
     ulimits:
       nofile: 131072