allowing docker container to access service on host (#2895)

### 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 <yuzhichang@gmail.com>
This commit is contained in:
Hui Peng 2024-10-23 01:43:21 -07:00 committed by GitHub
parent ec6d942d83
commit f090075cb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,3 +29,5 @@ services:
networks:
- ragflow
restart: always
extra_hosts:
- "host.docker.internal:host-gateway"