mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
.devcontainer
.devops
.github
.vscode
InvenTree
ci
contrib
deploy
docker
docs
images
src
.deepsource.toml
.eslintrc.yml
.gitattributes
.gitignore
.pkgr.yml
.pre-commit-config.yaml
CONTRIBUTING.md
Dockerfile
LICENSE
Procfile
README.md
RELEASE.md
SECURITY.md
backportrc.json
crowdin.yml
docker-compose.yml
docker.dev.env
package-lock.json
package.json
pyproject.toml
readthedocs.yml
requirements-dev.in
requirements-dev.txt
requirements.in
requirements.txt
runtime.txt
tasks.py
yarn.lock
* Improved handling of race condition when saving setting value * Improvements for managing pending migrations - Inform user if there are outstanding migrations - reload plugin registry (if necessary) * Increase django-q polling time According to this thread, should reduce multiple workers taking the same task: https://github.com/Koed00/django-q/issues/183#issuecomment-239676084 * Revert default behavior * Better logging * Remove comment * Update unit test * Revert maintenance mode behaviour * raise ValidationError in settings
23 lines
632 B
Bash
23 lines
632 B
Bash
# InvenTree environment variables for a development setup
|
|
# These variables will be used by the docker-compose.yml file
|
|
|
|
# Set DEBUG to True for a development setup
|
|
INVENTREE_DEBUG=True
|
|
INVENTREE_LOG_LEVEL=INFO
|
|
INVENTREE_DB_LOGGING=False
|
|
|
|
# Database configuration options
|
|
# Note: The example setup is for a PostgreSQL database (change as required)
|
|
INVENTREE_DB_ENGINE=postgresql
|
|
INVENTREE_DB_NAME=inventree
|
|
INVENTREE_DB_HOST=inventree-dev-db
|
|
INVENTREE_DB_PORT=5432
|
|
INVENTREE_DB_USER=pguser
|
|
INVENTREE_DB_PASSWORD=pgpassword
|
|
|
|
# Enable custom plugins?
|
|
INVENTREE_PLUGINS_ENABLED=True
|
|
|
|
# Auto run migrations?
|
|
INVENTREE_AUTO_UPDATE=False
|