Aller au contenu
Se connecter

Accès par défaut

Adresse
http://ADRESSE-IP:8080Remplacez ADRESSE-IP par l'adresse donnée à la fin de l'installation.
Compte et mot de passe
Aucun identifiant fixe publié par la source : voir ci-dessous.
Console et SSH
Console du conteneur dans l'interface Proxmox : compte root, connexion automatique sans mot de passe. Le SSH de root n'est ouvert que si vous l'avez demandé à l'installation.
Configuration
/opt/localai.env
  • The API is protected from the moment it starts. With user accounts off, a static API key is generated and saved to ~/localai.creds in the container; clients send it as 'Authorization: Bearer <key>' or an 'x-api-key' header, and it grants full admin access. With user accounts on, register in the web UI immediately after install - the first account created becomes the admin.

LocalAI is a drop-in replacement for the OpenAI API that runs entirely on your own hardware. One binary serves text generation, image generation, speech-to-text and text-to-speech behind OpenAI-compatible endpoints, backed by a model gallery and pluggable inference backends. Heavier than llama.cpp, but multi-modal and self-managing.

Site ↗ Documentation ↗ Dépôt de l'application ↗ Voir le code du script ↗

Installer

Cœurs
4
Mémoire
8 Go
Disque
30 Go
Système
Debian 13
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/localai.sh)"

Configuration : /opt/localai.env

Dans le shell du nœud Proxmox. Exécutez cette commande dans le shell du nœud Proxmox, pas dans une VM. Lisez le script d'abord.

Générateur : préparer la commande avec vos réglages

Remplissez seulement ce que vous voulez changer. Les valeurs vides gardent le réglage par défaut du script.

Tutoriel pas à pas

De l'interface de Proxmox jusqu'à la première connexion, pour LocalAI.

  1. Ouvrez l'interface de Proxmox dans votre navigateur et connectez-vous.

  2. Dans l'arbre de gauche, cliquez sur votre nœud, puis sur « Shell ».

  3. Vérifiez que le nœud a la place pour ce conteneur : 4 cœurs, 8 Go de mémoire, 30 Go de disque.

  4. Copiez cette commande, collez-la dans le shell et appuyez sur Entrée.

    bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/localai.sh)"
  5. À la question « Use Default Settings? », répondez oui pour garder les réglages par défaut. Répondez non pour choisir vous-même l'identifiant, l'adresse, le disque ou le réseau.

  6. Attendez la fin de l'installation : le script affiche l'adresse du conteneur.

  7. Ouvrez http://ADRESSE-IP:8080 dans votre navigateur, en remplaçant ADRESSE-IP par l'adresse affichée.

  8. Pour entrer dans le conteneur : sélectionnez-le dans Proxmox, puis « Console ». La session root s'ouvre sans mot de passe.

  9. Pour mettre à jour plus tard : tapez update dans la console du conteneur.

  10. Le fichier de configuration se trouve ici : /opt/localai.env

À savoir

  • No models are installed by default. Use the gallery in the web UI to pull one, or drop GGUF files into /opt/localai_data/models. Inference backends are fetched on first use and can be several GB each, which is what the 30 GB default disk is for.
  • GPU passthrough is offered during creation and driver libraries inside the container are matched to the host driver version automatically. Without a GPU everything still works on the CPU, just slowly.
  • Models, backends and the auth database live in /opt/localai_data and configuration in /opt/localai.env, both outside the application directory, so updates never touch them. A mount point on /opt/localai_data is worth considering rather than growing the root disk.
  • User accounts need a database. Upstream ships the release binary without the CGO auth tag, so the built-in SQLite store is unavailable and PostgreSQL is installed alongside LocalAI when the option is enabled. Leaving it off keeps the container to a single service.

Options propres à ce script

VariableRôleType
var_authEnable User Accountsboolean
var_api_keyAPI Keypassword
var_portPortnumber
INSTALL_NVIDIA_DRIVERSInstall NVIDIA driver librariesboolean

Notes de la version v4.11.0

🎉 LocalAI 4.11.0 Release! 🚀


LocalAI 4.11.0 is out!

This release makes LocalAI more useful for audio understanding, resilient model serving, structured decisions, and day-to-day operation. Audio scenes can now combine transcription, diarization, sound detection, and remembered speaker names. Ordered failover chain…

Dans la même catégorie

Alpine-IT-Tools

Conteneur LXC

IT-Tools is a web-based suite of utilities designed to streamline and simplify various IT tasks, providing tools for developers and system administrators to manage their…

Mise à jour Port 80

Alpine-Wakapi

Conteneur LXC

Wakapi is an open-source tool that helps you keep track of the time you have spent coding on different projects in different programming languages and more. Ideal for st…

Mise à jour Port 3000

AnythingLLM

Conteneur LXC

AnythingLLM is an all-in-one AI application: turn documents, websites and other content into a chat-ready knowledge base with RAG, agents and multi-user workspaces. It c…

Mise à jour Port 3001

ByteStash

Conteneur LXC

ByteStash is a self-hosted web application designed to store, organise, and manage your code snippets efficiently. With support for creating, editing, and filtering snip…

Mise à jour Port 3000

CLIProxyAPI

Conteneur LXC

CLIProxyAPI is a proxy server that provides OpenAI-compatible API endpoints for multiple AI CLI tools including Claude Code, Gemini CLI, OpenAI Codex, and more. It enabl…

Mise à jour Port 8317

Coder Code Server

Complément

Coder Code Server is an open-source project that enables you to run Visual Studio Code (VS Code) on a remote machine, such as a desktop PC or virtual server. It serves a…

Port 8680