test
This commit is contained in:
parent
019d735fdd
commit
82c86db196
@ -51,7 +51,7 @@ variable "group" {
|
||||
resource "coder_script" "open-webui" {
|
||||
agent_id = var.agent_id
|
||||
display_name = "open-webui"
|
||||
icon = "/icon/openai.svg"
|
||||
icon = "/icon/openwebui.svg"
|
||||
script = templatefile("${path.module}/run.sh", {
|
||||
HTTP_SERVER_LOG_PATH : var.log_path,
|
||||
HTTP_SERVER_PORT : var.port,
|
||||
@ -64,7 +64,7 @@ resource "coder_app" "open-webui" {
|
||||
slug = "open-webui"
|
||||
display_name = "Open WebUI"
|
||||
url = "http://localhost:${var.port}"
|
||||
icon = "/icon/openai.svg"
|
||||
icon = "/icon/openwebui.svg"
|
||||
subdomain = true
|
||||
share = var.share
|
||||
order = var.order
|
||||
|
||||
@ -1,8 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
|
||||
HTTP_SERVER_LOG_PATH=$${HTTP_SERVER_LOG_PATH}
|
||||
HTTP_SERVER_PORT=$${HTTP_SERVER_PORT}
|
||||
set -eu
|
||||
|
||||
echo "1. $${HTTP_SERVER_LOG_PATH}"
|
||||
echo "2. ${HTTP_SERVER_LOG_PATH}"
|
||||
|
||||
HTTP_SERVER_LOG_PATH=${HTTP_SERVER_LOG_PATH}
|
||||
HTTP_SERVER_PORT=${HTTP_SERVER_PORT}
|
||||
|
||||
# shellcheck disable=SC2059
|
||||
printf '\033[0;1mInstalling Open WebUI...\n\n'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user