text
stringlengths
0
3.02k
{Attachments}
https://cdn.discordapp.c…e949a2eb3795b55&
[3/9/2024 1:19 PM] g30
Here's my modification to the layout.svelte file.
{Attachments}
https://cdn.discordapp.c…ae5a754db8555ed&
[3/9/2024 1:20 PM] g30
Still working on the OLED theme CSS file.
[3/9/2024 1:25 PM] pier1337
Do you deploy the webui on Podman, Docker or both?
[3/9/2024 1:34 PM] g30
I actually don't know how I can visualize how the code looks right now, nor if it works.
{Attachments}
https://cdn.discordapp.com/attachments/1210732510250541067/1216091817762885823/oled-dark.css?ex=67743943&is=6772e7c3&hm=c187efd157b32f1002ddf33c70e9b36fa6a658f3c802541c3eac5752d5d79f75&
[3/9/2024 1:38 PM] wildtang3nt
@G:30b the solution was staring us in the face...
[3/9/2024 1:38 PM] wildtang3nt
docker
[3/9/2024 1:38 PM] wildtang3nt
you can just build your webui's dev directory into a docker image now
[3/9/2024 1:40 PM] wildtang3nt
`docker build -t open-webui .` in that dir will create a new image. You can do a modified version of your normal `docker run` command with a different volume name or mounted location, changed container name, and instead of `ghcr.io/open-webui/open-webui:main` just put `open-webui`
```
docker run -d -v open-webui-dev:/app/backend/data -p 3001:8080 --name open-webui-dev open-webui
```
[3/9/2024 1:41 PM] wildtang3nt
this will run a new container with a different name listening on port `3001`
[3/9/2024 1:42 PM] wildtang3nt
it shouldn't interfere with your stable one, and both can use the same Ollama
[3/9/2024 1:44 PM] wildtang3nt
This is a good lesson that even 20 years experienced can still get over their skis and forget the obvious fact that the dockerfile already sets up a dev environment and builds the project.. no need to even have nodejs or python installed on your host at all
[3/9/2024 1:44 PM] g30
Wow that's nuts! Okay, so run the first command, then the second one?
[3/9/2024 1:45 PM] g30
Docker really is great! I am glad Open WebUI has adopted it. 🙂
[3/9/2024 1:46 PM] wildtang3nt
Yep
[3/9/2024 1:46 PM] wildtang3nt
It'll take a bit.. be forewarned
[3/9/2024 1:46 PM] wildtang3nt
Sometimes 5 minutes or more
[3/9/2024 1:47 PM] g30
Is that period a part of the first command to run?
[3/9/2024 1:47 PM] wildtang3nt
Yes
[3/9/2024 1:48 PM] wildtang3nt
Not entirely certain if that works on windows now that I think of it but there's other ways, you can just give an absolute path too
[3/9/2024 1:49 PM] wildtang3nt
`.` in unix file systems is shorthand for current directory
[3/9/2024 1:49 PM] g30
{Attachments}
https://cdn.discordapp.c…18e2c4817585b0a&