10 Sentinels Active
SENTINEL 01: [AEGIS] AUDITING POCKETBASE INFRASTRUCTURE...
Back to Self-Hosted Stacks
LocalAI

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


# -------------------------------------------------------------------------
# ๐Ÿš€ Created and distributed by The AltStack
# ๐ŸŒ https://thealtstack.com
# -------------------------------------------------------------------------

version: '3.8'

services:
  localai:
    image: mudler/localai:latest
    container_name: localai
    restart: unless-stopped
    ports:
      - "8080:8080"

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.