-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathset_env.sh
More file actions
53 lines (45 loc) 路 2.14 KB
/
Copy pathset_env.sh
File metadata and controls
53 lines (45 loc) 路 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# API virtual env
export CODX_JUNIOR_API_VENV=${CODX_JUNIOR_API_VENV:-/tmp/.venv_codx_junior_api}
# Browser virtual env
export BROWSER_VENV=/tmp/.venv_codx_junior_browser
# codx-junior API port
export CODX_JUNIOR_API_PORT=${CODX_JUNIOR_API_PORT:-19980}
# codx-junior API URL
export CODX_JUNIOR_API_URL=http://0.0.0.0:${CODX_JUNIOR_API_PORT}
# codx-junior web port
export CODX_JUNIOR_WEB_PORT=${CODX_JUNIOR_WEB_PORT:-19981}
# codx-junior code-server port
export CODX_JUNIOR_CODER_PORT=${CODX_JUNIOR_CODER_PORT:-19982}
# Desktop port
export CODX_JUNIOR_NOVNC_PORT=${CODX_JUNIOR_NOVNC_PORT:-19983}
# codx-junior API background port
export CODX_JUNIOR_API_PORT_BACKGROUND=${CODX_JUNIOR_API_PORT_BACKGROUND:-19984}
# llmfactory server port
export CODX_JUNIOR_LLMFACTORY_PORT=${CODX_JUNIOR_LLMFACTORY_PORT:-19985}
export CODX_JUNIOR_LLMFACTORY_URL=http://0.0.0.0:${CODX_JUNIOR_LLMFACTORY_PORT}
export CODX_JUNIOR_LLMFACTORY_KNOWLEDGE_MODEL=${CODX_JUNIOR_LLMFACTORY_KNOWLEDGE_MODEL:-"qwen3:4b"}
export CODX_JUNIOR_LLMFACTORY_EMBEDDINGS_MODEL=${CODX_JUNIOR_LLMFACTORY_EMBEDDINGS_MODEL:-"nomic-embed-text"}
export CODX_JUNIOR_AUTOGEN_STUDIO_PORT=${CODX_JUNIOR_AUTOGEN_STUDIO_PORT:-19986}
export CODX_JUNIOR_AUTOGEN_PREFIX_PATH_VALUE=autogenstudio
# milvus vector DB
export CODX_JUNIOR_MILVUS_UI_URL=${CODX_JUNIOR_MILVUS_UI_URL:-"http://milvus:9091"}
export CODX_JUNIOR_MILVUS_URL=${CODX_JUNIOR_MILVUS_URL:-"http://milvus:19530"}
# User codxspaces and apps base port
export USER_PORT_RANGE_START=${USER_PORT_RANGE_START:-99000}
export USER_PORT_RANGE_END=${USER_PORT_RANGE_END:-99050}
# codx-junior preview display
export CODX_JUNIOR_DISPLAY=:55
# Serving client from API
export CODX_SUPERVISOR_LOG_FOLDER=/var/log/codx-junior-supervisor
# Installation APPS
export CODX_JUNIOR_APPS=${CODX_JUNIOR_APPS:-"client api llm-factory docker"}
#Global settings path
export CODX_JUNIOR_GLOBAL_SETTINGS_PATH=${CODX_JUNIOR_GLOBAL_SETTINGS_PATH:-/home/codx-junior/codx-junior-global-settings.json}
### OLLAMA
export CODX_JUNIOR_EMBEDDINGS_MODEL=nomic-embed-text
# Miscellaneous
export DEBIAN_FRONTEND=noninteractive
# Locales
export LANG=en_US.UTF-8
export LANGUAGE=en_US:en
export LC_ALL=en_US.UTF-8