version: '3.8' services: vosk: build: ./vosk_service 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