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

feat: add docker support #133

Merged
merged 4 commits into from
Jul 3, 2023
Merged

feat: add docker support #133

merged 4 commits into from
Jul 3, 2023

Conversation

UNICKCHENG
Copy link
Contributor

@UNICKCHENG UNICKCHENG commented Jun 29, 2023

增加 docker 支持,提供了 dockerfile 和 docker-compose.yml 文件,方便用户自行构建 docker 镜像

使用

  1. 确保安装了 docker 1
  2. 在项目根目录配置好 .env 文件 2
  3. 在项目根目录,执行下述命令
# docker-compose.yml 文件中配置了 bibgpt 和 bibgpt-dev 两个服务,建议注释掉一个
docker compose up -d
  • bibgpt:属于生产环境下的服务,默认访问端口 3000
  • bibgpt-dev:属于开发环境下的服务,默认访问端口 3002

image

Footnotes

  1. https://docs.docker.com/engine/install/

  2. https://github.com/JimmyLv/BibiGPT/blob/main/.example.env

@JimmyLv
Copy link
Owner

JimmyLv commented Jul 2, 2023

Wow, that's soooo great! Thanks for the support, I will merge as soon as possible!

@JimmyLv JimmyLv merged commit 824da10 into JimmyLv:main Jul 3, 2023
@SicauxiaoqiangNo1
Copy link

请问开源了这种的话,我用自己的openai api刚开始用就提示次数不够么

@kevinlin0
Copy link

可以使用国内的大模型的api么

@kevinlin0
Copy link

请问开源了这种的话,我用自己的openai api刚开始用就提示次数不够么
还可以使用么?

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

Successfully merging this pull request may close these issues.

4 participants