Dish_Recognition/central_server/env.example

18 lines
552 B
Plaintext
Raw 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.

# 复制本文件为 .env 后按需修改(start.py 会读取 .env)
# copy env.example .env
# 监听地址:总服务器建议 0.0.0.0,让工位机能连进来
DISH_API_HOST=0.0.0.0
DISH_API_PORT=9000
# 工位机访问图片用的公网/内网前缀(必须能从工位机打开)
DISH_MEDIA_PUBLIC_BASE=http://127.0.0.1:9000/media
# 可选鉴权;工位机同样设置 DISH_API_TOKEN
# DISH_API_TOKEN=change-me
# 不填则使用本目录 data/media 与 data/results
# DISH_MEDIA_ROOT=
# DISH_RESULT_STORE=
# DISH_MEDIA_MAX_BYTES=12582912