services: ltx2-studio: build: context: . args: LTX_DESKTOP_VERSION: "1.2.7" LTX_DESKTOP_SHA512: "d1d59027988a48490492feb42156665bbed511f187739a664ad326492fd8fc0ce43429537150eb6aea9a75a522f6353a40839f9b3ed0449fb720b7c13b091706" image: mike-ai/ltx2-studio:1.2.7 container_name: mike-ai-ltx2-studio restart: "no" labels: com.mike-ai.video-worker: ltx2 deploy: resources: reservations: devices: - driver: nvidia device_ids: - ${LTX2_GPU_UUID:-GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe} capabilities: [gpu] shm_size: 8g environment: NVIDIA_VISIBLE_DEVICES: ${LTX2_GPU_UUID:-GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe} NVIDIA_DRIVER_CAPABILITIES: compute,utility,graphics CUDA_VISIBLE_DEVICES: "0" # Stable and intentionally different from the default local macOS app # port, so OAuth can return through an SSH tunnel without a collision. LTX_PORT: "41955" LTX_HOST: 0.0.0.0 ports: - 127.0.0.1:41955:41955 volumes: - /data/video/ltx-desktop:/data networks: - frontend security_opt: - no-new-privileges:true cap_drop: [ALL] healthcheck: test: [CMD, curl, -fsS, http://127.0.0.1:8015/] interval: 10s timeout: 5s retries: 30 start_period: 30s networks: frontend: external: true name: mike-ai_frontend