Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/just-cameron/letta-openwebui. A Letta fork of OpenWebUI
Something went wrong. Try again.
letta-openwebui run.sh
471 B · 19 lines
Shell
1234567891011121314151617181920#!/bin/bash
image_name="open-webui"container_name="open-webui"host_port=3000container_port=8080
docker build -t "$image_name" .docker stop "$container_name" &>/dev/null || truedocker rm "$container_name" &>/dev/null || true
docker run -d -p "$host_port":"$container_port" \ --add-host=host.docker.internal:host-gateway \ -v "${image_name}:/app/backend/data" \ --name "$container_name" \ --restart always \ "$image_name"
docker image prune -f