Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker启动:database name cannot be the empty string #72

Closed
wanqqq29 opened this issue Feb 4, 2023 · 1 comment
Closed

docker启动:database name cannot be the empty string #72

wanqqq29 opened this issue Feb 4, 2023 · 1 comment

Comments

@wanqqq29
Copy link

wanqqq29 commented Feb 4, 2023

docker compose 快速启动下
配置文件使用wechat.json

pro.env

# MongoDB 用户名
LL_M_USER=""
# MongoDB 密码
LL_M_PASS=""
# MongoDB IP
# Docker Compose 形式启动的话,此行配置不变
LL_M_HOST="liuli_mongodb"
# MongoDB 端口
LL_M_PORT="27017"
# MongoDB 默认 db
# 如果用户自建db,填写自己的即可 此时 LL_M_OP_DB 可不填
LL_M_DB=""
LL_M_OP_DB=""

# ======================================接口服务配置======================================#
# Flask 是否开启Flask的Debug模式
LL_FLASK_DEBUG=0
# Flask IP
LL_HOST="0.0.0.0"
# Flask 端口
LL_HTTP_PORT=8765
# 访问域名,没有域名填本机实际地址(因为要开放对外访问),如: http://192.168.0.1:8765
LL_DOMAIN="cc.homecenter.wanqqq29.cn"
# Flask 服务启动的 worker 数量
LL_WORKERS=1

image

怀疑是MongoDB的问题 但是没有找到在哪修改

@howie6879
Copy link
Owner

你环境没写数据库相关配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants