allowing docker container to access service on host (#2895)
Browse files### What problem does this PR solve?
1. services running (e.g., ollama) running on the host could not be
accessed from docker containers
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
---------
Co-authored-by: Zhichang Yu <[email protected]>
docker/docker-compose.yml
CHANGED
@@ -29,3 +29,5 @@ services:
|
|
29 |
networks:
|
30 |
- ragflow
|
31 |
restart: always
|
|
|
|
|
|
29 |
networks:
|
30 |
- ragflow
|
31 |
restart: always
|
32 |
+
extra_hosts:
|
33 |
+
- "host.docker.internal:host-gateway"
|