Skip to content

Commit 90dfb02

Browse files
committed
Add initial Docker Compose file
1 parent bd4c4be commit 90dfb02

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

AGENTS.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ This repository is an experiment with Open WebUI and Docker to use Scaleway serv
44

55
At the moment I am trying to create a sample/example Dockerfile to run Open WebUI with a remote database (through environment variables) that is hosted on Scaleway serverless DB service. My idea is to test this sample Dockerfile locally and then try to move it to Scaleway managed container service and possibly have a serverless service to run Open WebUI.
66

7-
Open WebUI will also need information about the models, and I also expect to use a serverless inference service (with an OpenAI compatible API) from Nscale.
7+
Open WebUI will also need information about the models, and I also expect to use a serverless inference service (with an OpenAI compatible API) from Nscale.
8+
9+
## Additional context for current `dockerfile` branch
10+
11+
I am putting up the Dockerfile, but Docker Compose is more convenient, so I will only need a `docker-compose.yml` and won't need a `Dockerfile` for now.

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
# openwebui-docker-sandbox
22

3-
An experiment with Open WebUI and Docker to use Scaleway serverless infrastructure.
3+
An experiment with Open WebUI and Docker to use Scaleway serverless infrastructure.
4+
5+
## Usage
6+
7+
This sandbox/example uses Docker Compose for convenience.
8+
9+
Make sure you have your Docker Engine/runtime/daemon running and use the following command to run:
10+
11+
```shell
12+
docker compose up
13+
```
14+
15+
Open http://localhost:8080 on your browser.

docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
services:
2+
open-webui:
3+
image: ghcr.io/open-webui/open-webui:main
4+
container_name: openwebui-docker-sandbox
5+
ports:
6+
- "8080:8080"
7+
volumes:
8+
- open-webui:/app/backend/data
9+
10+
volumes:
11+
open-webui:

0 commit comments

Comments
 (0)