fix(docker): fix the permissions issue when running Docker Compose
Docker Compose mount the volumes as root by default and the node user can't access the SQLite DB (read-only)
This commit is contained in:
parent
eda2c3975a
commit
2351c5c125
2 changed files with 11 additions and 6 deletions
|
|
@ -12,6 +12,8 @@ services:
|
|||
perplexica-backend:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- USER=root
|
||||
dockerfile: backend.dockerfile
|
||||
image: itzcrazykns1337/perplexica-backend:main
|
||||
depends_on:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue