mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-20 00:33:45 +01:00
Added information about database file mapping to docker installation and use this in example docker-compose.yaml
This fixes issue #134 and #127
This commit is contained in:
@@ -9,5 +9,9 @@ services:
|
||||
# By default
|
||||
- ./uploads:/var/www/html/uploads
|
||||
- ./public_media:/var/www/html/public/media
|
||||
- ./db:/var/www/html/var/db
|
||||
restart: unless-stopped
|
||||
image: jbtronics/part-db1:master
|
||||
image: jbtronics/part-db1:master
|
||||
environment:
|
||||
# Put SQLite database in our mapped folder. You can configure some other kind of database here too.
|
||||
- DATABASE_URL=sqlite:///%kernel.project_dir%/var/db/app.db
|
||||
Reference in New Issue
Block a user