services: whisper-api: build: . container_name: voice_whisper restart: unless-stopped working_dir: /app volumes: - ./app.py:/app/app.py command: python app.py ports: - "5000:5000" voice-bridge: build: context: . dockerfile: Dockerfile.bridge image: voice_bridge:local container_name: voice_bridge restart: unless-stopped network_mode: "host" deploy: resources: limits: memory: 500M depends_on: - whisper-api environment: - XDG_CACHE_HOME=/root/.cache # Passed through from the invoking shell. start_bridge.sh sources # ~/.config/environment.d/10-secrets.conf first, because environment.d # does not reach a fresh SSH shell (AGENTS.md section 4.4). # No secret values live in this file or in git. - MQTT_USER - MQTT_PASS