Spaces:
Runtime error
Runtime error
DeathDaDev
commited on
Commit
•
385448a
1
Parent(s):
dea72f6
fix: Persist Ollama private key between restarts using volume mount.
Browse files- docker-compose.yml +4 -0
docker-compose.yml
CHANGED
@@ -4,6 +4,8 @@ services:
|
|
4 |
build: .
|
5 |
ports:
|
6 |
- "11434:11434"
|
|
|
|
|
7 |
gateway:
|
8 |
build:
|
9 |
context: .
|
@@ -12,3 +14,5 @@ services:
|
|
12 |
- "5000:5000"
|
13 |
depends_on:
|
14 |
- ollama
|
|
|
|
|
|
4 |
build: .
|
5 |
ports:
|
6 |
- "11434:11434"
|
7 |
+
volumes:
|
8 |
+
- ollama-data:/home/user/.ollama
|
9 |
gateway:
|
10 |
build:
|
11 |
context: .
|
|
|
14 |
- "5000:5000"
|
15 |
depends_on:
|
16 |
- ollama
|
17 |
+
volumes:
|
18 |
+
ollama-
|