services: vosk: build: context: . dockerfile: vosk_service/Dockerfile container_name: vosk-api ports: - "5000:5000" # Uncomment the next lines if you want to mount the model from the host instead of copying into the image # volumes: # - ./vosk_service/model:/app/model restart: unless-stopped