Add DockerUpdating.md changes from feature-nginx-combined

This commit is contained in:
Matthew Hand 2024-11-05 19:52:06 +00:00
parent 113212a61b
commit 3bb3bbdf69

View File

@ -0,0 +1,42 @@
# Docker Compose Setup
Using Docker Compose simplifies the management of multi-container Docker applications.
## Example `docker-compose.yml`
```yaml
version: '3'
services:
openwebui:
image: ghcr.io/open-webui/open-webui:main
ports:
- "3000:8080"
volumes:
- open-webui:/app/backend/data
volumes:
open-webui:
```
## Starting the Services
To start your services, run:
```bash
docker compose up -d
```
---
**Note:** For Nvidia GPU support, add the following to your service definition:
```yaml
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
```