mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
7ab5ddcd7d
* 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
|