yangdx commited on
Commit
19cfc40
·
1 Parent(s): e501fc4

Add host.docker.internal to docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +4 -0
docker-compose.yml CHANGED
@@ -11,6 +11,8 @@ services:
11
  env_file:
12
  - .env
13
  restart: unless-stopped
 
 
14
 
15
  neo4j:
16
  image: neo4j:5.26.4-community
@@ -29,6 +31,8 @@ services:
29
  - lightrag_neo4j_import:/var/lib/neo4j/import
30
  - lightrag_neo4j_data:/data
31
  - lightrag_neo4j_backups:/backups
 
 
32
 
33
  volumes:
34
  lightrag_neo4j_import:
 
11
  env_file:
12
  - .env
13
  restart: unless-stopped
14
+ extra_hosts:
15
+ - "host.docker.internal:host-gateway"
16
 
17
  neo4j:
18
  image: neo4j:5.26.4-community
 
31
  - lightrag_neo4j_import:/var/lib/neo4j/import
32
  - lightrag_neo4j_data:/data
33
  - lightrag_neo4j_backups:/backups
34
+ extra_hosts:
35
+ - "host.docker.internal:host-gateway"
36
 
37
  volumes:
38
  lightrag_neo4j_import: