2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-30 16:41:35 +00:00

Split environment variables out into a .env file

- No need to collect "static" file when we are running in DEBUG mode
This commit is contained in:
Oliver Walters
2021-05-12 21:15:53 +10:00
parent 3381c5e257
commit 00c5a88383
4 changed files with 17 additions and 19 deletions

7
docker/dev-config.env Normal file
View File

@@ -0,0 +1,7 @@
INVENTREE_DB_ENGINE=sqlite3
INVENTREE_DB_NAME=/home/inventree/src/inventree_docker_dev.sqlite3
INVENTREE_MEDIA_ROOT=/home/inventree/src/inventree_media
INVENTREE_STATIC_ROOT=/home/inventree/src/inventree_static
INVENTREE_CONFIG_FILE=/home/inventree/src/config.yaml
INVENTREE_SECRET_KEY_FILE=/home/inventree/src/secret_key.txt
INVENTREE_DEBUG=true