mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-17 11:55:30 +02:00
feat: Add Ollama Chat Tone Template (#973)
* Add Ollama Chat Tone blueprint with Docker configuration, SVG logo, and metadata * Update .gitignore and replace Ollama Chat Tone SVG with new design * Add Ollama Chat Tone metadata to meta.json * Update GitHub link in meta.json for Ollama Chat Tone * Fix environment variable casing in docker-compose.yml and update template.toml with default values * Remove duplicate .DS_Store entry from .gitignore * Delete .DS_Store Delete .DS_Store
This commit is contained in:
committed by
GitHub
parent
1cde3fac82
commit
98844f7d83
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,3 @@
|
||||
node_modules
|
||||
package-lock.json
|
||||
meta.json.backup.*
|
||||
meta.json.backup.*
|
||||
21
blueprints/ollama-chat-tone/docker-compose.yml
Normal file
21
blueprints/ollama-chat-tone/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
ollama-chat-tone:
|
||||
image: billnice250/chattone:latest
|
||||
ports:
|
||||
- 8080
|
||||
environment:
|
||||
APP_NAME: "Ollama Chat Tone"
|
||||
ADDR: ":8080"
|
||||
SESSION_SECRET: "${SESSION_SECRET}"
|
||||
DB_PATH: "/data/app.db"
|
||||
OLLAMA_URL: "${OLLAMA_URL}"
|
||||
OLLAMA_TIMEOUT: "${OLLAMA_TIMEOUT}"
|
||||
DEFAULT_MODEL: "${DEFAULT_MODEL}"
|
||||
OPEN_BROWSER: "false"
|
||||
BASIC_AUTH_USER: "${BASIC_AUTH_USER}"
|
||||
BASIC_AUTH_PASSWORD: "${BASIC_AUTH_PASSWORD}"
|
||||
volumes:
|
||||
- ollama-chat-tone-data:/data
|
||||
|
||||
volumes:
|
||||
ollama-chat-tone-data: {}
|
||||
8
blueprints/ollama-chat-tone/ollama-chat-tone.svg
Normal file
8
blueprints/ollama-chat-tone/ollama-chat-tone.svg
Normal file
@@ -0,0 +1,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" role="img" aria-label="Ollama Chat Tone">
|
||||
<rect width="128" height="128" rx="28" fill="#070b13"/>
|
||||
<circle cx="42" cy="38" r="7" fill="#818cf8"/>
|
||||
<circle cx="86" cy="38" r="7" fill="#a78bfa"/>
|
||||
<path d="M31 57c0-10 8-18 18-18h30c10 0 18 8 18 18v17c0 10-8 18-18 18H57l-20 14v-16c-4-3-6-9-6-16V57z" fill="#111827" stroke="#818cf8" stroke-width="6" stroke-linejoin="round"/>
|
||||
<path d="M50 64h28M50 78h18" stroke="#e5e7eb" stroke-width="7" stroke-linecap="round"/>
|
||||
<path d="M87 80l13 13M100 80L87 93" stroke="#a78bfa" stroke-width="7" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 628 B |
32
blueprints/ollama-chat-tone/template.toml
Normal file
32
blueprints/ollama-chat-tone/template.toml
Normal file
@@ -0,0 +1,32 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
session_secret = "change-me......32charsOrMore"
|
||||
ollama_url = "http://your-ollama-host:11434"
|
||||
ollama_timeout = "5"
|
||||
default_model = "llama3.2"
|
||||
basic_auth_user = "admin"
|
||||
basic_auth_password = "change-me"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "ollama-chat-tone"
|
||||
port = 8080
|
||||
host = "${main_domain}"
|
||||
path = "/"
|
||||
|
||||
[config.env]
|
||||
APP_NAME = "Ollama Chat Tone"
|
||||
ADDR = ":8080"
|
||||
SESSION_SECRET = "${session_secret}"
|
||||
DB_PATH = "/data/app.db"
|
||||
OLLAMA_URL = "${ollama_url}"
|
||||
OLLAMA_TIMEOUT = "${ollama_timeout}"
|
||||
DEFAULT_MODEL = "${default_model}"
|
||||
OPEN_BROWSER = "false"
|
||||
BASIC_AUTH_USER = "${basic_auth_user}"
|
||||
BASIC_AUTH_PASSWORD = "${basic_auth_password}"
|
||||
|
||||
[[config.mounts]]
|
||||
serviceName = "ollama-chat-tone"
|
||||
filePath = "/data/app.db"
|
||||
content = ""
|
||||
18
meta.json
18
meta.json
@@ -4532,6 +4532,24 @@
|
||||
"academic"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "ollama-chat-tone",
|
||||
"name": "Ollama Chat Tone",
|
||||
"version": "latest",
|
||||
"description": "Self-contained Ollama chat client with local auth, streaming responses, and per-user conversations.",
|
||||
"logo": "ollama-chat-tone.svg",
|
||||
"links": {
|
||||
"github": "https://github.com/billnice250/ollama-chat-client",
|
||||
"website": "https://hub.docker.com/r/billnice250/chattone",
|
||||
"docs": "https://hub.docker.com/r/billnice250/chattone"
|
||||
},
|
||||
"tags": [
|
||||
"chatbot",
|
||||
"ai",
|
||||
"ollama",
|
||||
"docker"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "omni-tools",
|
||||
"name": "Omni-Tools",
|
||||
|
||||
Reference in New Issue
Block a user