ports
Some checks failed
Builder / Build addons (localai-p2p-master, amd64) (push) Failing after 8s
Builder / Build addons (localai-p2p-worker, amd64) (push) Failing after 8s
Validate / validate (push) Failing after 2s
Builder / Create release (push) Has been skipped

This commit is contained in:
2025-05-30 14:05:22 +02:00
parent c20c20bab6
commit 701b3bb8c6
2 changed files with 10 additions and 2 deletions

View File

@@ -11,8 +11,12 @@ ingress: true
ingress_port: 8080
ports:
8080/tcp: 8080
9090/tcp: 9090 # Port P2P TCP
9090/udp: 9090 # Port P2P UDP
ports_description:
8080/tcp: "LocalAI API port"
9090/tcp: "LocalAI P2P TCP port"
9090/udp: "LocalAI P2P UDP port"
environment:
LOCALAI_P2P: "true"
LOCALAI_FEDERATED: "true"
@@ -20,6 +24,7 @@ environment:
LOCALAI_ADDRESS: "0.0.0.0:8080"
LOCALAI_CORS: "true"
LOCALAI_CORS_ALLOW_ORIGINS: "*"
LOCALAI_P2P_LISTEN_PORT: "9090"
map:
- type: share
read_only: false