Initial commit: LocalAI P2P addons
This commit is contained in:
32
localai-p2p-master/config.yaml
Normal file
32
localai-p2p-master/config.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: "LocalAI P2P Master"
|
||||
version: "1.0.1"
|
||||
slug: "localai-p2p-master"
|
||||
description: "LocalAI with P2P federation support (master node with GPU)"
|
||||
url: "https://git.carriere.cloud/alex/hass-addons/tree/main/localai-p2p-master"
|
||||
arch:
|
||||
- amd64
|
||||
host_network: true
|
||||
startup: application
|
||||
ports:
|
||||
8080/tcp: 8080
|
||||
ports_description:
|
||||
8080/tcp: "LocalAI API port"
|
||||
image: "localai/localai:latest"
|
||||
environment:
|
||||
LOCALAI_P2P: "true"
|
||||
LOCALAI_FEDERATED: "true"
|
||||
map:
|
||||
- type: share
|
||||
read_only: false
|
||||
- type: addon_config
|
||||
read_only: false
|
||||
privileged:
|
||||
- SYS_ADMIN
|
||||
options:
|
||||
gpu_layers: 99
|
||||
debug: false
|
||||
models_path: "/share/localai/models"
|
||||
schema:
|
||||
gpu_layers: "int(0,)"
|
||||
debug: "bool?"
|
||||
models_path: "str?"
|
||||
Reference in New Issue
Block a user