name: openedai-speech services: openedai-speech: image: ghcr.io/matatonic/openedai-speech container_name: openedai-speech ports: - "8060:8000" volumes: - /opt/openedai-speech/tts-voices:/app/voices - /opt/openedai-speech/tts-config:/app/config restart: unless-stopped deploy: resources: reservations: devices: - driver: nvidia device_ids: ['0'] capabilities: [gpu] environment: - TZ=Europe/London - TTS_HOME=voices - HF_HOME=voices # - PRELOAD_MODEL=xtts # - PRELOAD_MODEL=xtts_v2.0.2 # - PRELOAD_MODEL=parler-tts/parler_tts_mini_v0.1