mount host sqlite directory
This commit is contained in:
parent
ea7c96a660
commit
effe425b95
1 changed files with 7 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# documentation: https://litequeen.com/
|
# documentation: https://litequeen.com/
|
||||||
# slogan: Manage SQLite databases on your server with ease.
|
# slogan: Manage SQLite databases on your server with ease.
|
||||||
# tags: sqlite, sqlite-database-management, self-hosted, VPS
|
# tags: sqlite, sqlite-database-management, self-hosted, VPS, database
|
||||||
# logo: svgs/litequeen.svg
|
# logo: svgs/litequeen.svg
|
||||||
# port: 8000
|
# port: 8000
|
||||||
|
|
||||||
|
|
@ -9,7 +9,11 @@ services:
|
||||||
image: kivsegrob/lite-queen:latest
|
image: kivsegrob/lite-queen:latest
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_FQDN_LITEQUEEN_8000
|
- SERVICE_FQDN_LITEQUEEN_8000
|
||||||
- SQLITE_DATABASES_LOCATION=${SQLITE_DATABASES_LOCATION}
|
- SQLITE_DATABASES_LOCATION=${SQLITE_DATABASES_LOCATION:-/var/www}
|
||||||
volumes:
|
volumes:
|
||||||
- litequeen-data:/home/litequeen/data
|
- litequeen-data:/home/litequeen/data
|
||||||
- ${SQLITE_DATABASES_LOCATION}:/www
|
- type: bind
|
||||||
|
source: ${SQLITE_DATABASES_LOCATION}
|
||||||
|
target: /www
|
||||||
|
is_directory: true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue