ports
This commit is contained in:
@@ -11,8 +11,12 @@ ingress: true
|
|||||||
ingress_port: 8080
|
ingress_port: 8080
|
||||||
ports:
|
ports:
|
||||||
8080/tcp: 8080
|
8080/tcp: 8080
|
||||||
|
9090/tcp: 9090 # Port P2P TCP
|
||||||
|
9090/udp: 9090 # Port P2P UDP
|
||||||
ports_description:
|
ports_description:
|
||||||
8080/tcp: "LocalAI API port"
|
8080/tcp: "LocalAI API port"
|
||||||
|
9090/tcp: "LocalAI P2P TCP port"
|
||||||
|
9090/udp: "LocalAI P2P UDP port"
|
||||||
environment:
|
environment:
|
||||||
LOCALAI_P2P: "true"
|
LOCALAI_P2P: "true"
|
||||||
LOCALAI_FEDERATED: "true"
|
LOCALAI_FEDERATED: "true"
|
||||||
@@ -20,6 +24,7 @@ environment:
|
|||||||
LOCALAI_ADDRESS: "0.0.0.0:8080"
|
LOCALAI_ADDRESS: "0.0.0.0:8080"
|
||||||
LOCALAI_CORS: "true"
|
LOCALAI_CORS: "true"
|
||||||
LOCALAI_CORS_ALLOW_ORIGINS: "*"
|
LOCALAI_CORS_ALLOW_ORIGINS: "*"
|
||||||
|
LOCALAI_P2P_LISTEN_PORT: "9090"
|
||||||
map:
|
map:
|
||||||
- type: share
|
- type: share
|
||||||
read_only: false
|
read_only: false
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: "LocalAI P2P Worker"
|
name: "LocalAI P2P Worker"
|
||||||
version: "1.0.3.1" # Incrémentez aussi la version
|
version: "1.0.3.2" # Incrémentez aussi la version
|
||||||
slug: "localai-p2p-worker" # ⬅️ IMPORTANT : doit correspondre au nom du dossier
|
slug: "localai-p2p-worker" # ⬅️ IMPORTANT : doit correspondre au nom du dossier
|
||||||
description: "LocalAI P2P federation worker node"
|
description: "LocalAI P2P federation worker node"
|
||||||
arch:
|
arch:
|
||||||
@@ -9,7 +9,9 @@ startup: application
|
|||||||
ingress: true
|
ingress: true
|
||||||
ingress_port: 8080
|
ingress_port: 8080
|
||||||
ports:
|
ports:
|
||||||
8080/tcp: 8081 # Port différent si sur même réseau
|
8080/tcp: 8080 # Port différent si sur même réseau
|
||||||
|
9090/tcp: 9090 # Port P2P TCP
|
||||||
|
9090/udp: 9090 # Port P2P UDP
|
||||||
environment:
|
environment:
|
||||||
LOCALAI_P2P: "true"
|
LOCALAI_P2P: "true"
|
||||||
LOCALAI_FEDERATED: "true"
|
LOCALAI_FEDERATED: "true"
|
||||||
@@ -17,6 +19,7 @@ environment:
|
|||||||
LOCALAI_ADDRESS: "0.0.0.0:8080"
|
LOCALAI_ADDRESS: "0.0.0.0:8080"
|
||||||
LOCALAI_CORS: "true"
|
LOCALAI_CORS: "true"
|
||||||
LOCALAI_CORS_ALLOW_ORIGINS: "*"
|
LOCALAI_CORS_ALLOW_ORIGINS: "*"
|
||||||
|
LOCALAI_P2P_LISTEN_PORT: "9090"
|
||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user