forked from nickthecook/archyve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdotenv_template
42 lines (42 loc) · 1.14 KB
/
dotenv_template
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
DATABASE_URL=postgres://archyve:password@postgres:5432/archyve?sslmode=disable
REDIS_URL=redis://redis:6379
SECRET_KEY_BASE=# run `openssl rand -hex 64` to generate this value
CHAT_ENDPOINT=http://host.docker.internal:11434
EMBEDDING_ENDPOINT=http://host.docker.internal:11434
EMBEDDING_MODEL=all-minilm
SUMMARIZATION_ENDPOINT=http://host.docker.internal:11434
SUMMARIZATION_MODEL=mistral:instruct
CHROMADB_HOST=chromadb
CHROMADB_PORT=8000
PASSWORD=password
# run `rails db:encryption:init within the container` to get these values
ACTIVE_RECORD_ENCRYPTION="{
\"primary_key\": \"...\",
\"deterministic_key\": \"...\",
\"key_derivation_salt\": \"...\"
}"
PROVISIONED_MODEL_SERVERS="[
{
\"name\": \"ollama\",
\"url\": \"http://host.docker.internal:11434\",
\"provider\": \"ollama\"
}
]"
PROVISIONED_MODEL_CONFIGS="[
{
\"name\": \"mistral:instruct\",
\"model\": \"mistral:instruct\",
\"temperature\": 0.1
},
{
\"name\": \"gemma:7b\",
\"model\": \"gemma:7b\",
\"temperature\": 0.2
},
{
\"name\": \"nomic-embed-text\",
\"model\": \"nomic-embed-text\",
\"embedding\": true
}
]"