Fix directory model
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user