mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #3777] recommend adding a docker-compose.yaml file #13380
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Hisma on GitHub (Jul 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3777
many of us run multiple docker containers and like to organize in a docker-compose file. Here is the docker command I run to run open-webui -
docker run -d -p 3000:8080 --gpus all --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --network=host --restart always ghcr.io/open-webui/open-webui:cudahere it is in docker-compose format -
Here's the Docker Compose equivalent of the provided Docker run command:
note - I need to use the option
network_mode: hostfor some reason. Others may not need this so it can be commented out by default.I think others will find this useful and it can be added as an additional file for those who prefer to orchestrate docker containers using
docker compose.@Hisma commented on GitHub (Jul 11, 2024):
closing this. I see it's already been done! Perhaps mention in the installation guide that alternatively users can use the docker-compose version...
@justinh-rahb commented on GitHub (Jul 11, 2024):
That's also already mentioned: https://docs.openwebui.com/getting-started/#docker-compose