Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Anything Llm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
Mintplex Labs
Anything Llm
Commits
1a6f5999
Unverified
Commit
1a6f5999
authored
1 year ago
by
Timothy Carambat
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
update docker build instructions (#412)
* update docker build instructions * cleanup
parent
88cdd8c8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+20
-4
20 additions, 4 deletions
README.md
cloud-deployments/aws/cloudformation/cloudformation_create_anythingllm.json
+1
-1
1 addition, 1 deletion
...aws/cloudformation/cloudformation_create_anythingllm.json
docker/HOW_TO_USE_DOCKER.md
+18
-3
18 additions, 3 deletions
docker/HOW_TO_USE_DOCKER.md
with
39 additions
and
8 deletions
README.md
+
20
−
4
View file @
1a6f5999
...
@@ -78,12 +78,28 @@ This monorepo consists of three main sections:
...
@@ -78,12 +78,28 @@ This monorepo consists of three main sections:
-
(optional) a vector database like Pinecone, qDrant, Weaviate, or Chroma
*
.
-
(optional) a vector database like Pinecone, qDrant, Weaviate, or Chroma
*
.
*
AnythingLLM by default uses a built-in vector db called LanceDB.
*
AnythingLLM by default uses a built-in vector db called LanceDB.
## How to get started (Docker - simple setup)
## Recommended usage with Docker (easy!)
> [!TIP]
> It is best to mount the containers storage volume to a folder on your host machine
> so that you can pull in future updates without deleting your existing data!
`docker pull mintplexlabs/anythingllm:master`
`docker pull mintplexlabs/anythingllm:master`
`docker run -d -p 3001:3001 mintplexlabs/anythingllm:master`
Go to
`http://localhost:3001`
and you are now using AnythingLLm!
```
shell
[
More about running AnythingLLM with Docker
](
./docker/HOW_TO_USE_DOCKER.md
)
STORAGE_LOCATION
=
"/var/lib/anythingllm"
\
mkdir
"
$STORAGE_LOCATION
"
&&
\
touch
"
$STORAGE_LOCATION
/.env"
&&
\
docker run
-d
-p
3001:3001
\
-v
${
STORAGE_LOCATION
}
:/app/server/storage
\
-v
${
STORAGE_LOCATION
}
/.env:/app/server/.env
\
-e
STORAGE_DIR
=
"/app/server/storage"
\
mintplexlabs/anythingllm:master
```
Go to
`http://localhost:3001`
and you are now using AnythingLLM! All your data and progress will persist between
container rebuilds or pulls from Docker Hub.
[
Learn more about running AnythingLLM with Docker
](
./docker/HOW_TO_USE_DOCKER.md
)
### How to get started (Development environment)
### How to get started (Development environment)
-
`yarn setup`
from the project root directory.
-
`yarn setup`
from the project root directory.
...
...
This diff is collapsed.
Click to expand it.
cloud-deployments/aws/cloudformation/cloudformation_create_anythingllm.json
+
1
−
1
View file @
1a6f5999
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
"AnythingLLMInstanceSecurityGroup"
:
{
"AnythingLLMInstanceSecurityGroup"
:
{
"Type"
:
"AWS::EC2::SecurityGroup"
,
"Type"
:
"AWS::EC2::SecurityGroup"
,
"Properties"
:
{
"Properties"
:
{
"GroupDescription"
:
"AnythingLL
m
Instance Security Group"
,
"GroupDescription"
:
"AnythingLL
M
Instance Security Group"
,
"SecurityGroupIngress"
:
[
"SecurityGroupIngress"
:
[
{
{
"IpProtocol"
:
"tcp"
,
"IpProtocol"
:
"tcp"
,
...
...
This diff is collapsed.
Click to expand it.
docker/HOW_TO_USE_DOCKER.md
+
18
−
3
View file @
1a6f5999
...
@@ -5,11 +5,26 @@ Use the Dockerized version of AnythingLLM for a much faster and complete startup
...
@@ -5,11 +5,26 @@ Use the Dockerized version of AnythingLLM for a much faster and complete startup
## Requirements
## Requirements
-
Install
[
Docker
](
https://www.docker.com/
)
on your computer or machine.
-
Install
[
Docker
](
https://www.docker.com/
)
on your computer or machine.
## Pull from Docker
## Recommend way to run dockerized AnythingLLM!
> [!TIP]
> It is best to mount the containers storage volume to a folder on your host machine
> so that you can pull in future updates without deleting your existing data!
`docker pull mintplexlabs/anythingllm:master`
`docker pull mintplexlabs/anythingllm:master`
`docker run -d -p 3001:3001 mintplexlabs/anythingllm:master`
Go to
`http://localhost:3001`
and you are now using AnythingLLm!
```
shell
STORAGE_LOCATION
=
"/var/lib/anythingllm"
\
mkdir
"
$STORAGE_LOCATION
"
&&
\
touch
"
$STORAGE_LOCATION
/.env"
&&
\
docker run
-d
-p
3001:3001
\
-v
${
STORAGE_LOCATION
}
:/app/server/storage
\
-v
${
STORAGE_LOCATION
}
/.env:/app/server/.env
\
-e
STORAGE_DIR
=
"/app/server/storage"
\
mintplexlabs/anythingllm:master
```
Go to
`http://localhost:3001`
and you are now using AnythingLLM! All your data and progress will persist between
container rebuilds or pulls from Docker Hub.
## Build locally from source
## Build locally from source
-
`git clone`
this repo and
`cd anything-llm`
to get to the root directory.
-
`git clone`
this repo and
`cd anything-llm`
to get to the root directory.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment