Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesbrink/docker-fooocus
Docker image for Fooocus
https://github.com/jamesbrink/docker-fooocus
Last synced: about 1 month ago
JSON representation
Docker image for Fooocus
- Host: GitHub
- URL: https://github.com/jamesbrink/docker-fooocus
- Owner: jamesbrink
- Created: 2024-02-27T23:21:03.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T05:39:23.000Z (5 months ago)
- Last Synced: 2024-10-21T02:09:01.499Z (2 months ago)
- Language: Dockerfile
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fooocus
## About
Simple docker image for the [Fooocus web interface][Foocus].
## Usage
Build and run the container container:
```shell
make
docker run -i -t --gpus all -p 7865:7865 -v ./models:/fooocus/models -v ./outputs:/fooocus/outputs jamesbrink/fooocus
```If you want to share models between Fooocus and tools like ComfyUI, you can map the volumes like so:
```shell
mkdir -p ~/AI/Models/StableDiffusion/
mkdir -p ~/AI/Output
```Then simply run the container with the newly mapped volumes:
```shell
docker run -d --gpus all --network=host -v ~/AI/Models/StableDiffusion/:/fooocus/models -v ~/AI/Output:/fooocus/output --name fooocus jamesbrink/fooocus
```Running with CPU model only:
```shell
docker run -d --network=host -v ~/AI/Models/StableDiffusion/:/fooocus/models -v ~/AI/Output:/fooocus/output --restart=always --name fooocus jamesbrink/fooocus --listen --always-cpu --preset lightning
```[Foocus]: https://github.com/lllyasviel/Fooocus