We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use this docker-compose.yml for gpu support and port variable fix
version: "3.7"
services: webui: image: ghcr.io/neggles/sd-webui-docker:latest restart: unless-stopped container_name: sd-webui build: context: ./docker dockerfile: Dockerfile target: webui runtime: nvidia environment: NVIDIA_VISIBLE_DEVICES: all CLI_ARGS: "--skip-version-check --allow-code --enable-insecure-extension-access --api --xformers --opt-chan> PYTHONUNBUFFERED: "1" TERM: "${TERM}" SD_WEBUI_VARIANT: "default" # <-- added this variable ports: - mode: ingress target: 7860 published: 7860 protocol: tcp volumes: - type: bind source: ./data target: /data - type: bind source: ./output target: /output
browser: image: ghcr.io/neggles/sd-webui-docker/browser:latest restart: unless-stopped container_name: sd-browser profiles: - "browser" # <-- fixed the indentation build: context: ./browser dockerfile: Dockerfile target: browser environment: BROWSER_PORT: 7869 ports: - mode: ingress target: 7869 published: 7869 protocol: tcp volumes: - type: bind source: ./data target: /data - type: bind source: ./output target: /output
The text was updated successfully, but these errors were encountered:
No branches or pull requests
use this docker-compose.yml for gpu support and port variable fix
version: "3.7"
services:
webui:
image: ghcr.io/neggles/sd-webui-docker:latest
restart: unless-stopped
container_name: sd-webui
build:
context: ./docker
dockerfile: Dockerfile
target: webui
runtime: nvidia
environment:
NVIDIA_VISIBLE_DEVICES: all
CLI_ARGS: "--skip-version-check --allow-code --enable-insecure-extension-access --api --xformers --opt-chan> PYTHONUNBUFFERED: "1"
TERM: "${TERM}"
SD_WEBUI_VARIANT: "default" # <-- added this variable
ports:
- mode: ingress
target: 7860
published: 7860
protocol: tcp
volumes:
- type: bind
source: ./data
target: /data
- type: bind
source: ./output
target: /output
browser:
image: ghcr.io/neggles/sd-webui-docker/browser:latest
restart: unless-stopped
container_name: sd-browser
profiles:
- "browser" # <-- fixed the indentation
build:
context: ./browser
dockerfile: Dockerfile
target: browser
environment:
BROWSER_PORT: 7869
ports:
- mode: ingress
target: 7869
published: 7869
protocol: tcp
volumes:
- type: bind
source: ./data
target: /data
- type: bind
source: ./output
target: /output
The text was updated successfully, but these errors were encountered: