diff --git a/.gitignore b/.gitignore index 2f8606a3..904891b2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules package-lock.json -meta.json.backup.* +meta.json.backup.* \ No newline at end of file diff --git a/blueprints/ollama-chat-tone/docker-compose.yml b/blueprints/ollama-chat-tone/docker-compose.yml new file mode 100644 index 00000000..8605f824 --- /dev/null +++ b/blueprints/ollama-chat-tone/docker-compose.yml @@ -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: {} diff --git a/blueprints/ollama-chat-tone/ollama-chat-tone.svg b/blueprints/ollama-chat-tone/ollama-chat-tone.svg new file mode 100644 index 00000000..b90a86a1 --- /dev/null +++ b/blueprints/ollama-chat-tone/ollama-chat-tone.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/blueprints/ollama-chat-tone/template.toml b/blueprints/ollama-chat-tone/template.toml new file mode 100644 index 00000000..2ab6ae27 --- /dev/null +++ b/blueprints/ollama-chat-tone/template.toml @@ -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 = "" diff --git a/meta.json b/meta.json index 8be7825d..361203fd 100644 --- a/meta.json +++ b/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",