Skip to content

Commit 52271cc

Browse files
authored
Merge pull request #1278 from Websoft9/update-anythingllm-b7ca3b07
Update anythingllm
2 parents 85be341 + 9d42d8d commit 52271cc

File tree

12 files changed

+40
-183
lines changed

12 files changed

+40
-183
lines changed

apps/anythingllm/.env

Lines changed: 10 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,18 @@
1-
W9_REPO=wordpress
2-
W9_DIST=community
3-
W9_VERSION=latest
4-
5-
W9_POWER_PASSWORD=1PrMxExC45LsCT
6-
7-
# Environments which for user settings when create application
8-
# Named expression: W9_xxx_xxx_SET, xxx refer to file fields
9-
W9_HTTP_PORT_SET=9001
10-
# W9_HTTPS_PORT_SET=9002
11-
# W9_DB_PORT_SET=3306
12-
# W9_SSH_PORT_SET=23
13-
W9_KEY_SET="dfsjdkjf77xjxcjcj"
14-
15-
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
16-
17-
W9_ID=anythingllm
18-
19-
# W9_HTTP_PORT or W9_HTTPS_PORT is need at leaset and used for proxy for web application
20-
# Some container (e.g teleport) need HTTPS access, then need to set this pra
21-
W9_HTTP_PORT=80
22-
W9_HTTPS_PORT=81
23-
24-
W9_LOGIN_USER=admin
25-
# use https://1password.com/zh-cn/password-generator/ to genarate 14 bit password
26-
# this password can also use password file
27-
W9_LOGIN_PASSWORD=$W9_POWER_PASSWORD
28-
W9_ADMIN_PATH="/wp-login"
29-
30-
# Container name's suffix must use one of the value
31-
W9_DB_EXPOSE="mysql,postgresql,mariadb,mongodb,redis"
32-
33-
# It is used when the application APP needs to set an external URL, which can be IP(or domain), IP:PORT
34-
# If have protocols, should be set it in the APP's ENV
35-
W9_URL=internet_ip:$W9_HTTP_PORT_SET
36-
# modifies W9_URL on init when it is true
1+
W9_REPO=mintplexlabs/anythingllm
2+
W9_DIST='community'
3+
W9_VERSION='latest'
4+
5+
W9_HTTP_PORT=3001
6+
W9_HTTP_PORT_SET='9001'
7+
W9_ID='anythingllm'
8+
W9_URL='internet_ip:$W9_HTTP_PORT_SET'
379
W9_URL_REPLACE=true
38-
3910
W9_NETWORK=websoft9
4011

4112
#### ----------------------------------------------------------------------------------------- ####
4213

4314

44-
# Below environment is created by apphub
15+
# Below environment is created by this app: https://github.com/Mintplex-Labs/anything-llm/blob/master/docker/.env.example
4516

4617
#W9_NAME=""
47-
#W9_RCODE=""
18+
#W9_RCODE=""

apps/anythingllm/Dockerfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

apps/anythingllm/Notes.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
1-
# Appname
1+
# AnythingLLM
2+
3+
4+
## Guide
5+
6+
### Quick Start
7+
8+
1. Prepare your online LLM or create Ollama application at Websoft9 Console
9+
2. Docker exec to Ollama container and running command `ollama run tinydolphin` to create model
10+
3. Access AnythingLLM setup interface and select online LLM(OpenAI) or Ollama installed before
11+
4. Setting LLM provider for your workspace
12+
5. You can chat with LLM now
13+
14+
15+
## Config
16+
17+
18+
- Multiply Lanuages: Yes
19+
220
## FAQ
Lines changed: 9 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,24 @@
1-
# image,docs: https://hub.docker.com/_/wordpress/
1+
# docs: https://docs.anythingllm.com/installation-docker/local-docker, https://github.com/Mintplex-Labs/anything-llm/blob/master/docker/HOW_TO_USE_DOCKER.md
2+
# docker-compose: https://github.com/Mintplex-Labs/anything-llm/blob/master/docker/docker-compose.yml
23

34
services:
45

5-
wordpress:
6+
anythingllm:
67
image: $W9_REPO:$W9_VERSION
78
container_name: $W9_ID
89
restart: unless-stopped
9-
#This is for access host from container
10-
# extra_hosts: ["host.docker.internal:host-gateway"]
11-
# command: |
12-
# /bin/bash -c "ping -c 3 host.docker.internal"
13-
logging:
14-
driver: "json-file"
15-
options:
16-
max-file: "5"
17-
max-size: 10m
18-
deploy:
19-
resources:
20-
limits:
21-
memory: 5g
22-
cpus: '0.7'
10+
cap_add:
11+
- SYS_ADMIN
2312
ports:
24-
- $W9_HTTP_PORT_SET:80
13+
- $W9_HTTP_PORT_SET:3001
2514
env_file: .env
2615
volumes:
27-
- wordpress:/var/www/html
28-
- ./src/php_exra.ini:/usr/local/etc/php/conf.d/php_exra.ini
29-
30-
mariadb:
31-
image: mariadb:10.4
32-
container_name: $W9_ID-mariadb
33-
restart: unless-stopped
34-
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --innodb_log_buffer_size=30M
35-
volumes:
36-
- mysql_data:/var/lib/mysql
37-
environment:
38-
MYSQL_DATABASE: $W9_ID
39-
MYSQL_USER: $W9_ID
40-
MYSQL_PASSWORD: $W9_POWER_PASSWORD
41-
MYSQL_ROOT_PASSWORD: $W9_POWER_PASSWORD
16+
- anythingllm:/app/server/storage
4217

4318
volumes:
44-
wordpress:
45-
mysql_data:
19+
anythingllm:
4620

4721
networks:
4822
default:
4923
name: $W9_NETWORK
50-
external: true
24+
external: true

apps/anythingllm/src/after_up.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/anythingllm/src/encrypt.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

apps/anythingllm/src/filelist

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/anythingllm/src/get_version.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/anythingllm/src/nginx-proxy.conf.template

Lines changed: 0 additions & 57 deletions
This file was deleted.

apps/anythingllm/src/php_exra.ini

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)