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

@@ -7,6 +7,8 @@ arch:
- amd64 - amd64
host_network: true host_network: true
startup: application startup: application
ingress: true
ingress_port: 8080
ports: ports:
8080/tcp: 8080 8080/tcp: 8080
ports_description: ports_description:
@@ -14,11 +16,10 @@ ports_description:
environment: environment:
LOCALAI_P2P: "true" LOCALAI_P2P: "true"
LOCALAI_FEDERATED: "true" LOCALAI_FEDERATED: "true"
LOCALAI_MODELS_PATH: "/share/localai/models"
map: map:
- type: share - share:/share
read_only: false - config:/data
- type: addon_config
read_only: false
privileged: privileged:
- SYS_ADMIN - SYS_ADMIN
options: options:

View File

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