•  


???考方案:Run different projects with docker-compose profiles by k997 · Pull Request #1020 · binary-husky/gpt_academic · GitHub
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

???考方案:Run different projects with docker-compose profiles #1020

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

k997
Copy link

This commit introduces the usage of Docker Compose profiles to run different projects with varying functionalities. By utilizing the profiles feature, we can now manage and switch between different project configurations easily.

Changes made in this commit include:

  • Added Docker Compose profiles for organizing project configurations
  • Updated the README file to document the usage of profiles
  • Modified the docker-compose.yml file to include multiple profile definitions

?次提交引入了使用 Docker Compose 的 profile 功能??行具有不同功能的?目。通?利用 profile 功能,我??在可以?松地管理和切?不同的?目配置。

本次提交的主要更改包括:

  • 添加了 Docker Compose 的 profile,用于???目配置
  • 更新了 README 文件,以?? profile 的使用方法
  • 修改了 docker-compose.yml 文件,包含多? profile 定?

This commit introduces the usage of Docker Compose profiles to run different projects with varying functionalities. By utilizing the profiles feature, we can now manage and switch between different project configurations easily.

Changes made in this commit include:

- Added Docker Compose profiles for organizing project configurations
- Updated the README file to document the usage of profiles
- Modified the docker-compose.yml file to include multiple profile definitions

?次提交引入了使用 Docker Compose 的 profile 功能??行具有不同功能的?目。通?利用 profile 功能,我??在可以?松地管理和切?不同的?目配置。

本次提交的主要更改包括:

- 添加了 Docker Compose 的 profile,用于???目配置
- 更新了 README 文件,以?? profile 的使用方法
- 修改了 docker-compose.yml 文件,包含多? profile 定?
@gitguardian
Copy link

gitguardian bot commented Aug 6, 2023

?? GitGuardian has uncovered 5 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

?? Detected hardcoded secrets in your pull request
GitGuardian id Secret Commit Filename
- Generic High Entropy Secret f5f87d1 docker-compose.yml View secret
- Generic High Entropy Secret f5f87d1 docker-compose.yml View secret
- Generic High Entropy Secret f5f87d1 docker-compose.yml View secret
- Alibaba Cloud Keys f5f87d1 docker-compose.yml View secret
- Alibaba Cloud Keys f5f87d1 docker-compose.yml View secret
?? Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret .
  4. If possible, rewrite git history . Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


?? GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks !

@binary-husky
Copy link
Owner

binary-husky commented Aug 7, 2023

???,??方便不少,但是我花??需要??一下??docker-compose?法,之后我可能?把x-environment去掉(依然希望所有的配置都?簇地放在一起,避免把配置?分到不同地方??的理解上的??)

@k997
Copy link
Author

相?通用的配置放在一起可以方便用?切?不同方案。以代理地址?例,本人只有一?代理地址,在??不同方案?程中需要?不同方案反?配置相同的?境?量,?制粘?不同的services文件,?行了?多重?工作,因此提出??pr。

@Smiley23b
Copy link

image

@binary-husky binary-husky changed the title [Feature] Run different projects with docker-compose profiles ???考方案:Run different projects with docker-compose profiles Nov 14, 2023
Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants
- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본