mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-07 14:13:49 +01:00
29 lines
691 B
YAML
29 lines
691 B
YAML
version: "3.3"
|
|
services:
|
|
text-generation-webui:
|
|
build:
|
|
context: .
|
|
args:
|
|
BUILD_EXTENSIONS: ${BUILD_EXTENSIONS:-}
|
|
APP_GID: ${APP_GID:-6972}
|
|
APP_UID: ${APP_UID:-6972}
|
|
env_file: .env
|
|
user: "${APP_RUNTIME_UID:-6972}:${APP_RUNTIME_GID:-6972}"
|
|
ports:
|
|
- "${HOST_PORT:-7860}:${CONTAINER_PORT:-7860}"
|
|
- "${HOST_API_PORT:-5000}:${CONTAINER_API_PORT:-5000}"
|
|
stdin_open: true
|
|
group_add:
|
|
- video
|
|
tty: true
|
|
ipc: host
|
|
devices:
|
|
- /dev/kfd
|
|
- /dev/dri
|
|
cap_add:
|
|
- SYS_PTRACE
|
|
security_opt:
|
|
- seccomp=unconfined
|
|
volumes:
|
|
- ./user_data:/home/app/text-generation-webui/user_data
|