File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,8 @@ services:
5454 container_name : ollama_demo_service
5555 volumes :
5656 - ollama:/root/.ollama
57- # network_mode: host
58- ports :
59- - " 11434:11434"
57+ networks :
58+ - public
6059 environment :
6160 - " OLLAMA_HOST=0.0.0.0:11434"
6261 tty : true
@@ -69,14 +68,15 @@ services:
6968 - open-webui:/app/backend/data
7069 depends_on :
7170 - ollama_demo_service
72- network_mode : host
73- # ports:
74- # - "7863:7863"
71+ networks :
72+ - public
73+ ports :
74+ - " 7861:7861"
7575 environment :
7676 - ' PORT=7861'
7777 - ' ENV=dev'
7878 - ' VECTOR_DB=chroma'
79- - ' OLLAMA_BASE_URL=http://0.0.0.0 :11434'
79+ - ' OLLAMA_BASE_URL=http://ollama_demo_service :11434'
8080 - ' WEBUI_NAME=Ampere Llama Chat'
8181 - ' ENABLE_LITELLM=False'
8282 - ' WEBUI_SECRET_KEY='
@@ -86,3 +86,7 @@ services:
8686volumes :
8787 ollama : {}
8888 open-webui : {}
89+
90+ networks :
91+ public :
92+ driver : bridge
You can’t perform that action at this time.
0 commit comments