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
host_network: true
startup: application
ingress: true
ingress_port: 8080
ports:
8080/tcp: 8080
ports_description:
@@ -14,11 +16,10 @@ ports_description:
environment:
LOCALAI_P2P: "true"
LOCALAI_FEDERATED: "true"
LOCALAI_MODELS_PATH: "/share/localai/models"
map:
- type: share
read_only: false
- type: addon_config
read_only: false
- share:/share
- config:/data
privileged:
- SYS_ADMIN
options: