Skip to content

Commit b3e20c7

Browse files
authored
Merge pull request #491 from PixelTux/ollama
fix(docker): enable container-to-host connectivity for localhost services (e.g., Ollama)
2 parents 244eb0b + 676bd6d commit b3e20c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ services:
1010
container_name: picoclaw-agent
1111
profiles:
1212
- agent
13+
# Uncomment to access host network; leave commented unless needed.
14+
#extra_hosts:
15+
# - "host.docker.internal:host-gateway"
1316
volumes:
1417
- ./config/config.json:/home/picoclaw/.picoclaw/config.json:ro
1518
- picoclaw-workspace:/home/picoclaw/.picoclaw/workspace
@@ -29,6 +32,9 @@ services:
2932
restart: unless-stopped
3033
profiles:
3134
- gateway
35+
# Uncomment to access host network; leave commented unless needed.
36+
#extra_hosts:
37+
# - "host.docker.internal:host-gateway"
3238
volumes:
3339
# Configuration file
3440
- ./config/config.json:/home/picoclaw/.picoclaw/config.json:ro

0 commit comments

Comments
 (0)