2026-03-05 02:59:45 +01:00
|
|
|
# specify which cuda arch version your card supports (NVIDIA only)
|
|
|
|
|
# https://developer.nvidia.com/cuda-gpus
|
|
|
|
|
# or run: nvidia-smi --query-gpu=name,compute_cap --format=csv
|
|
|
|
|
# default in docker-compose.yml covers RTX 3090 (8.6) and RTX 4090 (8.9)
|
|
|
|
|
TORCH_CUDA_ARCH_LIST=8.6;8.9+PTX
|
2023-04-07 03:46:04 +02:00
|
|
|
# the port the webui binds to on the host
|
|
|
|
|
HOST_PORT=7860
|
|
|
|
|
# the port the webui binds to inside the container
|
|
|
|
|
CONTAINER_PORT=7860
|
|
|
|
|
# the port the api binds to on the host
|
|
|
|
|
HOST_API_PORT=5000
|
|
|
|
|
# the port the api binds to inside the container
|
|
|
|
|
CONTAINER_API_PORT=5000
|
2023-11-30 06:20:23 +01:00
|
|
|
# Comma separated extensions to build
|
|
|
|
|
BUILD_EXTENSIONS=""
|
2026-03-05 02:59:45 +01:00
|
|
|
# Set APP_RUNTIME_GID to an appropriate host system group to enable access to mounted volumes
|
2023-11-30 06:20:23 +01:00
|
|
|
# You can find your current host user group id with the command `id -g`
|
|
|
|
|
APP_RUNTIME_GID=6972
|
|
|
|
|
# override default app build permissions (handy for deploying to cloud)
|
|
|
|
|
#APP_GID=6972
|
|
|
|
|
#APP_UID=6972
|