shuzhiren-comfyui/任务队列后端/.env

35 lines
861 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 项目前缀
PROJECT_PREFIX='digitalHuman-v3'
# token 密钥
TOKEN_SECRET='1Ag9BJJn0rXDnidCyXqu'
# WebSocket 端口
WS_PORT=8087
# 回调端口
CALLBACK_PORT=8089
# runninghub API
RunningHub_URL='https://www.runninghub.cn/task/openapi/create'
# 后端接口地址
BACKEND_API_URL='http://localhost:8787' # http://www.whjbjm.com/api
# 回调接口地址
CALLBACK_URL='https://www.whjbjm.com/taskCallback/callback/all'
# fNkecvcLonpHtFimE4G1BOjcB82yy4PqiQv9caknQqtQAwT1ZAJeWkG7YjY2YVBP
# http://www.whjbjm.com/taskCallback/callback/all
# redis 地址
REDIS_URL = 'redis://:654321@localhost:16379/5'
# Message Dispatcher 配置
MESSAGE_DISPATCHER_URL=http://localhost:8078/api/task
MESSAGE_DISPATCHER_WS_PORT=8088
MESSAGE_DISPATCHER_ENABLED=true
MESSAGE_DISPATCHER_TIMEOUT=30000
# 回调超时配置 (毫秒默认10分钟)
CALLBACK_TIMEOUT=3600000