Back to Self-Hosted Stacks
Deploy LocalAI
The specific build of LocalAI, the free, Open Source OpenAI alternative. Drop-in replacement for OpenAI API.
Quick Start
1
Create a directory
mkdir localai-self-hosted && cd localai-self-hosted
2
Create config file
Copy the content from the Config tab below into a file named docker-compose.yml
3
Deploy
docker compose up -d
Fast Track
Deploy LocalAI in Minutes
Use our optimized Docker templates to deploy LocalAI on any cloud provider. Get $200 in free credit to start on DigitalOcean.
Start with free creditDeploy on DigitalOcean$200
Metadata
License
MIT
Language
Go
Last Updated
10/14/2026
Category
AI Runners
Configuration
yaml
Community Notes
Help others by adding context, corrections, or warnings about this tool. Sign in to contribute.
No community notes yet. Be the first to add context.