feat: put api and ollama in same docker net
This commit is contained in:
+6
-2
@@ -11,8 +11,8 @@ services:
|
||||
|
||||
restart: always
|
||||
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
networks:
|
||||
- chat-net
|
||||
|
||||
environment:
|
||||
NVIDIA_DRIVER_CAPABILITIES: compute,utility,management
|
||||
@@ -23,3 +23,7 @@ services:
|
||||
reservations:
|
||||
devices:
|
||||
- capabilities: [gpu]
|
||||
|
||||
networks:
|
||||
chat-net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user