docker: fix host ollama port
This commit is contained in:
parent
f276d702b2
commit
0f3a56d42f
|
|
@ -11,8 +11,7 @@ services:
|
||||||
XDG_STATE_HOME: /state
|
XDG_STATE_HOME: /state
|
||||||
XDG_CONFIG_HOME: /config
|
XDG_CONFIG_HOME: /config
|
||||||
XDG_CACHE_HOME: /cache
|
XDG_CACHE_HOME: /cache
|
||||||
# talk to host services:
|
OLLAMA_BASE: http://host.docker.internal:11434
|
||||||
OLLAMA_BASE: http://host.docker.internal:11435
|
|
||||||
ALL_PROXY: socks5h://host.docker.internal:9050
|
ALL_PROXY: socks5h://host.docker.internal:9050
|
||||||
NO_PROXY: host.docker.internal,127.0.0.1,localhost
|
NO_PROXY: host.docker.internal,127.0.0.1,localhost
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -21,4 +20,3 @@ services:
|
||||||
- /home/kompanion/.cache/kompanion:/cache/kompanion
|
- /home/kompanion/.cache/kompanion:/cache/kompanion
|
||||||
- /home/kompanion/metal-kompanion-runtime:/app:ro
|
- /home/kompanion/metal-kompanion-runtime:/app:ro
|
||||||
command: ["python3","kom_runner.py"]
|
command: ["python3","kom_runner.py"]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue