mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 13:46:54 +00:00
Update to latest config template file
This commit is contained in:
parent
222eea0457
commit
4905ed8de3
@ -1,29 +1,73 @@
|
|||||||
|
|
||||||
# Database backend selection - Configure backend database settings
|
# Database backend selection - Configure backend database settings
|
||||||
# Ref: https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-DATABASES
|
# Ref: https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-DATABASES
|
||||||
# Specify database parameters below as they appear in the Django docs
|
# Specify database parameters below as they appear in the Django docs
|
||||||
|
|
||||||
|
# Note: Database configuration options can also be specified from environmental variables,
|
||||||
|
# with the prefix INVENTREE_DB_
|
||||||
|
# e.g INVENTREE_DB_NAME / INVENTREE_DB_USER / INVENTREE_DB_PASSWORD
|
||||||
database:
|
database:
|
||||||
# Example configuration - sqlite (default)
|
# Default configuration - sqlite filesystem database
|
||||||
ENGINE: django.db.backends.sqlite3
|
ENGINE: sqlite3
|
||||||
NAME: '../inventree_default_db.sqlite3'
|
NAME: '../inventree_default_db.sqlite3'
|
||||||
|
|
||||||
# For more complex database installations, further parameters are required
|
# For more complex database installations, further parameters are required
|
||||||
# Refer to the django documentation for full list of options
|
# Refer to the django documentation for full list of options
|
||||||
|
|
||||||
# Example Configuration - MySQL
|
# --- Available options: ---
|
||||||
|
# ENGINE: Database engine. Selection from:
|
||||||
|
# - sqlite3
|
||||||
|
# - mysql
|
||||||
|
# - postgresql
|
||||||
|
# NAME: Database name
|
||||||
|
# USER: Database username (if required)
|
||||||
|
# PASSWORD: Database password (if required)
|
||||||
|
# HOST: Database host address (if required)
|
||||||
|
# PORT: Database host port (if required)
|
||||||
|
|
||||||
|
# --- Example Configuration - sqlite3 ---
|
||||||
|
# ENGINE: sqlite3
|
||||||
|
# NAME: '/path/to/database.sqlite3'
|
||||||
|
|
||||||
|
# --- Example Configuration - MySQL ---
|
||||||
#ENGINE: django.db.backends.mysql
|
#ENGINE: django.db.backends.mysql
|
||||||
#NAME: inventree
|
#NAME: inventree
|
||||||
#USER: inventree_username
|
#USER: inventree_username
|
||||||
#PASSWORD: inventree_password
|
#PASSWORD: inventree_password
|
||||||
#HOST: ''
|
#HOST: '127.0.0.1'
|
||||||
#PORT: ''
|
#PORT: '5432'
|
||||||
|
|
||||||
# Select default system language (default is 'en-us')
|
# Select default system language (default is 'en-us')
|
||||||
language: en-us
|
language: en-us
|
||||||
|
|
||||||
|
# System time-zone (default is UTC)
|
||||||
|
# Reference: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||||
|
# Select an option from the "TZ database name" column
|
||||||
|
timezone: UTC
|
||||||
|
|
||||||
|
# List of currencies supported by default.
|
||||||
|
# Add other currencies here to allow use in InvenTree
|
||||||
|
currencies:
|
||||||
|
- AUD
|
||||||
|
- CAD
|
||||||
|
- EUR
|
||||||
|
- GBP
|
||||||
|
- JPY
|
||||||
|
- NZD
|
||||||
|
- USD
|
||||||
|
|
||||||
# Set debug to False to run in production mode
|
# Set debug to False to run in production mode
|
||||||
debug: True
|
debug: True
|
||||||
|
|
||||||
|
# Set debug_toolbar to True to enable a debugging toolbar for InvenTree
|
||||||
|
# Note: This will only be displayed if DEBUG mode is enabled,
|
||||||
|
# and only if InvenTree is accessed from a local IP (127.0.0.1)
|
||||||
|
debug_toolbar: False
|
||||||
|
|
||||||
|
# Configure the system logging level
|
||||||
|
# Options: DEBUG / INFO / WARNING / ERROR / CRITICAL
|
||||||
|
log_level: WARNING
|
||||||
|
|
||||||
# Allowed hosts (see ALLOWED_HOSTS in Django settings documentation)
|
# Allowed hosts (see ALLOWED_HOSTS in Django settings documentation)
|
||||||
# A list of strings representing the host/domain names that this Django site can serve.
|
# A list of strings representing the host/domain names that this Django site can serve.
|
||||||
# Default behaviour is to allow all hosts (THIS IS NOT SECURE!)
|
# Default behaviour is to allow all hosts (THIS IS NOT SECURE!)
|
||||||
@ -58,11 +102,6 @@ static_root: '../inventree_static'
|
|||||||
# - git
|
# - git
|
||||||
# - ssh
|
# - ssh
|
||||||
|
|
||||||
# Set debug_toolbar to True to enable a debugging toolbar for InvenTree
|
|
||||||
# Note: This will only be displayed if DEBUG mode is enabled,
|
|
||||||
# and only if InvenTree is accessed from a local IP (127.0.0.1)
|
|
||||||
debug_toolbar: False
|
|
||||||
|
|
||||||
# Backup options
|
# Backup options
|
||||||
# Set the backup_dir parameter to store backup files in a specific location
|
# Set the backup_dir parameter to store backup files in a specific location
|
||||||
# If unspecified, the local user's temp directory will be used
|
# If unspecified, the local user's temp directory will be used
|
||||||
|
Loading…
x
Reference in New Issue
Block a user