feat(docker): enhance multi-architecture and CUDA support in Docker workflows

- Added support for multiple image variants (CPU, CUDA 12.8, CUDA 12.6) in the Docker build workflow.
- Updated Docker Compose configuration to utilize the new SURFSENSE_VARIANT environment variable for selecting image variants.
- Enhanced documentation to clarify usage of backend image variants and their corresponding environment variable settings.
This commit is contained in:
Anish Sarkar 2026-06-05 23:39:42 +05:30
parent 3259e41d6b
commit c1ee5fabf9
4 changed files with 87 additions and 17 deletions

View file

@ -7,6 +7,10 @@
# SurfSense version (use "latest" or a specific version like "0.0.14")
SURFSENSE_VERSION=latest
# Image variant: empty = CPU (default), "cuda" = CUDA 12.8, "cuda126" = CUDA 12.6.
# NOTE: this only selects the GPU-built image. GPU device access lands in Phase 3.
SURFSENSE_VARIANT=
# Deployment environment: dev or production
SURFSENSE_ENV=production