这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@timothycarambat
Copy link
Member

No description provided.

@timothycarambat timothycarambat merged commit d094cc3 into master Dec 14, 2023
@timothycarambat timothycarambat deleted the deployment-script-updates branch December 14, 2023 03:55
@review-agent-prime
Copy link

cloud-deployments/digitalocean/terraform/main.tf

Hardcoding sensitive information such as API tokens in your code can lead to security vulnerabilities if the code is exposed or shared. It's recommended to use environment variables or secure vaults to store such sensitive information.
Create Issue
See the diff
Checkout the fix

    provider "digitalocean" {
      token = var.do_token
    }
git fetch origin && git checkout -b ReviewBot/Impro-yrpk1qs origin/ReviewBot/Impro-yrpk1qs

cloud-deployments/gcp/deployment/gcp_deploy_anything_llm.yaml

Pulling the latest Docker image can lead to unexpected behavior if the latest version introduces breaking changes. It's recommended to pull a specific version of the Docker image to ensure the stability and performance of your application.
Create Issue
See the diff
Checkout the fix

    # Pull the specific version of the Docker image
    sudo docker pull mintplexlabs/anythingllm:v1.0.0
git fetch origin && git checkout -b ReviewBot/Impro-dbymhn1 origin/ReviewBot/Impro-dbymhn1

Comment on lines +36 to +37
sudo docker pull mintplexlabs/anythingllm:master
sudo docker run -d -p 3001:3001 -v /home/anythingllm:/app/server/storage -v /home/anythingllm/.env:/app/server/.env -e STORAGE_DIR="/app/server/storage" mintplexlabs/anythingllm:master

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulling the latest Docker image can lead to unexpected behavior if the latest version introduces breaking changes. It's recommended to pull a specific version of the Docker image to ensure the stability and performance of your application.

Suggested change
sudo docker pull mintplexlabs/anythingllm:master
sudo docker run -d -p 3001:3001 -v /home/anythingllm:/app/server/storage -v /home/anythingllm/.env:/app/server/.env -e STORAGE_DIR="/app/server/storage" mintplexlabs/anythingllm:master
sudo docker pull mintplexlabs/anythingllm:v1.0.0
sudo docker run -d -p 3001:3001 -v /home/anythingllm:/app/server/storage -v /home/anythingllm/.env:/app/server/.env -e STORAGE_DIR="/app/server/storage" mintplexlabs/anythingllm:v1.0.0

cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
…plex-Labs#445)

docs: update deployment templates to just pull the docker image and boot that instead of building
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

Successfully merging this pull request may close these issues.

2 participants