File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 77 <a href =" https://discord.gg/Hr4UWYEcTT " ><img src =" https://img.shields.io/badge/Discord-Join%20Server-7289DA?logo=discord&logoColor=white " alt =" Discord " ></a >
88 <a href =" https://x.com/simstudioai " ><img src =" https://img.shields.io/twitter/follow/simstudioai?style=social " alt =" Twitter " ></a >
99 <a href =" https://github.com/simstudioai/sim/pulls " ><img src =" https://img.shields.io/badge/PRs-welcome-brightgreen.svg " alt =" PRs welcome " ></a >
10- <a href =" https://github.com/simstudioai/sim/issues " ><img src =" https://img.shields.io/badge/support-contact%20author-purple .svg " alt =" support " ></a >
10+ <a href =" https://docs.simstudio.ai " ><img src =" https://img.shields.io/badge/Docs-visit%20documentation-blue .svg " alt =" Documentation " ></a >
1111</p >
1212
1313<p align =" center " >
@@ -94,6 +94,28 @@ To use local models with Sim Studio, follow these steps:
9494
9595The application will now be configured to use your local models. You can access it at [ http://localhost:3000/w/ ] ( http://localhost:3000/w/ ) .
9696
97+ #### Connecting to Existing Ollama Instance
98+
99+ If you already have an Ollama instance running on your host machine, you can connect to it using one of these methods:
100+
101+ ``` bash
102+ # Method 1: Use host networking (simplest approach)
103+ docker compose up --profile local-cpu -d --build --network=host
104+ ```
105+
106+ Or modify your docker-compose.yml:
107+
108+ ``` yaml
109+ # Method 2: Add host.docker.internal mapping
110+ services :
111+ simstudio :
112+ # ... existing configuration ...
113+ extra_hosts :
114+ - " host.docker.internal:host-gateway"
115+ environment :
116+ - OLLAMA_HOST=http://host.docker.internal:11434
117+ ` ` `
118+
97119### Option 2: Dev Containers
98120
991211. Open VS Code or your favorite VS Code fork (Cursor, Windsurf, etc.)
You can’t perform that action at this time.
0 commit comments