Fix directory model
Some checks failed
Builder / Build addons (localai-p2p-master, amd64) (push) Failing after 16s
Validate / validate (push) Has been cancelled
Builder / Build addons (localai-p2p-worker, amd64) (push) Failing after 15s
Builder / Create release (push) Has been skipped

This commit is contained in:
2025-05-30 12:18:31 +02:00
parent 81aeebc68e
commit 0f8a119256
2 changed files with 10 additions and 8 deletions

View File

@@ -6,18 +6,19 @@ arch:
- amd64
host_network: true # OBLIGATOIRE pour P2P
startup: application
ingress: true
ingress_port: 8080
ports:
8080/tcp: 8081 # Port différent si sur même réseau
environment:
LOCALAI_P2P: "true"
LOCALAI_FEDERATED: "true"
LOCALAI_MODELS_PATH: "/share/localai/models"
THREADS: "8" # Utiliser tous les cœurs du 5800U
OMP_NUM_THREADS: "8"
map:
- type: share
read_only: false
- type: addon_config
read_only: false
- share:/share
- config:/data
options:
master_token: ""
gpu_layers: 0