Quick Start
Overview
This guide walks you through deploying Smallest Self-Host Text-to-Speech (TTS) using Docker Compose. You’ll have a fully functional text-to-speech service running in under 15 minutes.
Ensure you’ve completed all prerequisites before starting this guide.
Step 1: Create Project Directory
Create a directory for your deployment:
Step 2: Login to Container Registry
Authenticate with the Smallest container registry using credentials provided by support:
Enter your username and password when prompted.
Save your credentials securely. You’ll need them if you restart or redeploy the containers.
Step 3: Create Environment File
Create a .env file with your license key:
Replace your-license-key-here with the actual license key provided by Smallest.ai.
Never commit your .env file to version control. Add it to .gitignore if using git.
Step 4: Create Docker Compose File
Create a docker-compose.yml file for TTS deployment:
Step 5: Start Services
Launch all services with Docker Compose:
First Time Startup
Subsequent Startups
First startup will take 3-5 minutes as the system:
- Pulls container images (~15-25 GB, includes TTS models)
- Initializes GPU and loads models
Models are embedded in the container - no separate download needed.
Step 6: Monitor Startup
Watch the logs to monitor startup progress:
Look for these success indicators:
Press Ctrl+C to stop following logs.
Step 7: Verify Installation
Check that all containers are running:
Expected output:
Step 8: Test API
Test the API with a sample request:
Or use the health check endpoint first:
Expected response: {"status": "healthy"}
Common Startup Issues
GPU Not Found
Error: could not select device driver "nvidia"
Solution:
If this fails, reinstall NVIDIA Container Toolkit.
License Validation Failed
Error: License validation failed
Solution:
- Verify LICENSE_KEY in
.envis correct - Check internet connectivity
- Ensure firewall allows HTTPS to console-api.smallest.ai
Port Already in Use
Error: port is already allocated
Solution: Check what’s using the port:
Either stop the conflicting service or change the port in docker-compose.yml
Managing Your Deployment
Stop Services
Restart Services
View Logs
Examples:
Update Images
Pull latest images and restart:
Remove Deployment
Stop and remove all containers:
Remove containers and volumes:
Using -v flag will delete all data. Models will need to be re-downloaded on next startup.

