mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-13 13:15:37 +00:00
fix: user permissions writing local_data folder
This commit is contained in:
parent
c834e1bbe6
commit
6c018cf266
@ -8,6 +8,7 @@ services:
|
|||||||
# This service builds from an external Dockerfile and runs the Ollama mode.
|
# This service builds from an external Dockerfile and runs the Ollama mode.
|
||||||
private-gpt-ollama:
|
private-gpt-ollama:
|
||||||
image: ${PGPT_IMAGE:-zylonai/private-gpt}:${PGPT_TAG:-0.6.2}-ollama # x-release-please-version
|
image: ${PGPT_IMAGE:-zylonai/private-gpt}:${PGPT_TAG:-0.6.2}-ollama # x-release-please-version
|
||||||
|
user: root
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.ollama
|
dockerfile: Dockerfile.ollama
|
||||||
@ -34,6 +35,7 @@ services:
|
|||||||
# This service builds from a local Dockerfile and runs the application in local mode.
|
# This service builds from a local Dockerfile and runs the application in local mode.
|
||||||
private-gpt-llamacpp-cpu:
|
private-gpt-llamacpp-cpu:
|
||||||
image: ${PGPT_IMAGE:-zylonai/private-gpt}:${PGPT_TAG:-0.6.2}-llamacpp-cpu # x-release-please-version
|
image: ${PGPT_IMAGE:-zylonai/private-gpt}:${PGPT_TAG:-0.6.2}-llamacpp-cpu # x-release-please-version
|
||||||
|
user: root
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.llamacpp-cpu
|
dockerfile: Dockerfile.llamacpp-cpu
|
||||||
|
Loading…
Reference in New Issue
Block a user