mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-05 06:20:10 +01:00
[Docker] Windows Docker command in Powershell (#480)
* wip * side by side test * patch syntax highlighting * remove spacing formatting * swap powershell command
This commit is contained in:
parent
049bfa14cb
commit
c613eff31c
@ -31,6 +31,14 @@ Use the Dockerized version of AnythingLLM for a much faster and complete startup
|
||||
|
||||
`docker pull mintplexlabs/anythingllm:master`
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Linux/MacOs</th>
|
||||
<th>Windows Powershell</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
```shell
|
||||
export STORAGE_LOCATION=$HOME/anythingllm && \
|
||||
mkdir -p $STORAGE_LOCATION && \
|
||||
@ -43,6 +51,25 @@ docker run -d -p 3001:3001 \
|
||||
mintplexlabs/anythingllm:master
|
||||
```
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
```powershell
|
||||
$env:STORAGE_LOCATION="$HOME\Documents\anythingllm";
|
||||
If(!(Test-Path $env:STORAGE_LOCATION)) {New-Item $env:STORAGE_LOCATION -ItemType Directory};
|
||||
If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env"};
|
||||
docker run -d -p 3001:3001 `
|
||||
--cap-add SYS_ADMIN `
|
||||
-v "$env:STORAGE_LOCATION`:/app/server/storage" `
|
||||
-v "$env:STORAGE_LOCATION\.env:/app/server/.env" `
|
||||
-e STORAGE_DIR="/app/server/storage" `
|
||||
mintplexlabs/anythingllm:master;
|
||||
```
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user