Update docker-compose.yaml
Browse files- docker-compose.yaml +8 -0
docker-compose.yaml
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
services:
|
| 2 |
ollama:
|
| 3 |
volumes:
|
|
@@ -28,6 +29,13 @@ services:
|
|
| 28 |
extra_hosts:
|
| 29 |
- host.docker.internal:host-gateway
|
| 30 |
restart: unless-stopped
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
volumes:
|
| 33 |
ollama: {}
|
|
|
|
| 1 |
+
version: '3'
|
| 2 |
services:
|
| 3 |
ollama:
|
| 4 |
volumes:
|
|
|
|
| 29 |
extra_hosts:
|
| 30 |
- host.docker.internal:host-gateway
|
| 31 |
restart: unless-stopped
|
| 32 |
+
watchtower:
|
| 33 |
+
image: containrrr/watchtower
|
| 34 |
+
volumes:
|
| 35 |
+
- /var/run/docker.sock:/var/run/docker.sock
|
| 36 |
+
command: --interval 2592000 open-webui
|
| 37 |
+
depends_on:
|
| 38 |
+
- open-webui
|
| 39 |
|
| 40 |
volumes:
|
| 41 |
ollama: {}
|