gitdeem commited on
Commit
c26e117
1 Parent(s): 805b7fb

Upload 2 files

Browse files
Files changed (2) hide show
  1. .env +49 -0
  2. Dockerfile +1 -1
.env ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Bing search key
2
+ BING_SEARCH_KEY=
3
+ # Google search key
4
+ GOOGLE_SEARCH_KEY=
5
+ GOOGLE_SEARCH_ID=
6
+ # aliyun key
7
+ ALIYUN_KEY=
8
+ # Yi Key
9
+ YI_KEY=
10
+ # google gemini
11
+ GOOGLE_KEY=
12
+ GOOGLE_PROXY_URL=
13
+ # baidu
14
+ BAIDU_KEY=
15
+ BAIDU_SECRET=
16
+ # tencent KEY:ID, SECRET:KEY
17
+ TENCENT_KEY=
18
+ TENCENT_SECRET=
19
+ # openai key
20
+ OPENAI_KEY=freeduckduckgo
21
+ # openai proxy, default is for docker-compose, could modify if you need.
22
+ OPENAI_PROXY_URL=http://freeduckduckgo:3456/v1
23
+ # deepseek
24
+ DEEPSEEK_KEY=#your_key
25
+ # chatglm
26
+ GLM_KEY=#your_key
27
+ # moonshot
28
+ MOONSHOT_KEY=
29
+ # lepthon key
30
+ LEPTON_KEY=
31
+ # Local llm: Ollama hostname, could modify if you need.
32
+ OLLAMA_HOST=http://host.docker.internal:11434
33
+ # Searxng hostname, could modify if you need.
34
+ SEARXNG_HOSTNAME=http://searxng:8080
35
+ # The count of resources referenced
36
+ REFERENCE_COUNT=8
37
+ # Whitelist domains, eg. isou.chat,example.org, skip if empty.
38
+ WHITELIST_DOMAINS=
39
+ # Server Port
40
+ PORT=3000
41
+ # SearXNG query options, safesearch: Filter search results, 0: None 1: Moderate 2: Strict.
42
+ SEARXNG_SAFE=0
43
+ # SearXNG query options, language: default is 'all', eg. all/zh/en/en-US/de/it-IT/fr..., this setting has the highest priority.
44
+ SEARXNG_LANGUAGE=
45
+ # document: https://docs.searxng.org/user/configured_engines.html
46
+ SEARXNG_ENGINES=bing,google
47
+ SEARXNG_IMAGES_ENGINES=bing,google
48
+ # enable cache, 1 enable, 0 disable
49
+ CACHE_ENABLE=1
Dockerfile CHANGED
@@ -21,7 +21,7 @@ WORKDIR /app
21
  # Install dotenvx
22
  RUN curl -fsS https://dotenvx.sh/ | sh
23
 
24
- #COPY .env /app
25
 
26
  COPY --from=build /app/dist ./dist
27
  COPY --from=build /app/backend ./backend
 
21
  # Install dotenvx
22
  RUN curl -fsS https://dotenvx.sh/ | sh
23
 
24
+ COPY .env /app
25
 
26
  COPY --from=build /app/dist ./dist
27
  COPY --from=build /app/backend ./backend