Aasher commited on
Commit
c2b0124
·
1 Parent(s): 5e955dc

Update config

Browse files
Files changed (2) hide show
  1. .chainlit/config.toml +5 -0
  2. Dockerfile +1 -1
.chainlit/config.toml CHANGED
@@ -18,6 +18,11 @@ cache = false
18
  # Authorized origins
19
  allow_origins = ["*"]
20
 
 
 
 
 
 
21
  [features]
22
  # Process and display HTML in messages. This can be a security risk (see https://stackoverflow.com/questions/19603097/why-is-it-dangerous-to-render-user-generated-html-or-javascript)
23
  unsafe_allow_html = false
 
18
  # Authorized origins
19
  allow_origins = ["*"]
20
 
21
+ [server]
22
+ host = "0.0.0.0"
23
+ port = 7860
24
+ enable_websockets = true
25
+
26
  [features]
27
  # Process and display HTML in messages. This can be a security risk (see https://stackoverflow.com/questions/19603097/why-is-it-dangerous-to-render-user-generated-html-or-javascript)
28
  unsafe_allow_html = false
Dockerfile CHANGED
@@ -40,4 +40,4 @@ EXPOSE 8082
40
  EXPOSE 7860
41
 
42
  # Run the two required commands concurrently using bash process control
43
- CMD ["bash", "-c", "uv run mcpdoc --urls LangGraph:https://langchain-ai.github.io/langgraph/llms.txt CrewAI:https://docs.crewai.com/llms.txt --transport sse --port 8082 --host localhost & uv run chainlit run app.py --port 7860 --host 0.0.0.0 --enable-websockets"]
 
40
  EXPOSE 7860
41
 
42
  # Run the two required commands concurrently using bash process control
43
+ CMD ["bash", "-c", "uv run mcpdoc --urls LangGraph:https://langchain-ai.github.io/langgraph/llms.txt CrewAI:https://docs.crewai.com/llms.txt --transport sse --port 8082 --host localhost & uv run chainlit run app.py --port 7860 --host 0.0.0.0"]