Skip to content

Commit 4085299

Browse files
committed
Merge branch 'next' of https://github.com/coollabsio/coolify into next
2 parents e6bb1de + 2dc3177 commit 4085299

File tree

3 files changed

+11
-22
lines changed

3 files changed

+11
-22
lines changed

app/Livewire/Project/New/Select.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public function instantSave()
256256

257257
public function setType(string $type)
258258
{
259-
$type = str($type)->lower()->value();
259+
$type = str($type)->lower()->slug()->value();
260260
if ($this->loading) {
261261
return;
262262
}

templates/compose/ollama-with-open-webui.yaml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,32 @@
33
# tags: ollama,ai,models,deployment,open-web-ui,integration
44
# logo: svgs/ollama.svg
55

6-
version: "3.9"
7-
86
services:
97
ollama-api:
10-
container_name: ollama
118
image: "ollama/ollama:latest"
129
volumes:
1310
- "ollama:/root/.ollama"
14-
ports:
15-
- 11434:11434
16-
tty: true
17-
restart: unless-stopped
18-
pull_policy: always
1911
healthcheck:
2012
test: ["CMD", "ollama", "list"]
21-
interval: 30s
22-
timeout: 10s
23-
retries: 3
13+
interval: 5s
14+
timeout: 30s
15+
retries: 10
2416

2517
open-webui:
26-
container_name: open-webui
2718
image: "ghcr.io/open-webui/open-webui:main"
19+
volumes:
20+
- "open-webui:/app/backend/data"
2821
depends_on:
2922
- ollama-api
3023
environment:
31-
- "OLLAMA_API_BASE_URL=http://127.0.0.1:11434"
3224
- SERVICE_FQDN_OLLAMA_8080
33-
restart: unless-stopped
25+
- OLLAMA_BASE_URL=http://ollama-api:11434
3426
healthcheck:
3527
test:
3628
- CMD
3729
- curl
3830
- "-f"
3931
- "http://127.0.0.1:8080"
40-
interval: 30s
41-
timeout: 10s
42-
retries: 3
43-
44-
volumes:
45-
ollama: {}
32+
interval: 5s
33+
timeout: 30s
34+
retries: 10

templates/service-templates.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)