2024-02-27 14:06:19 +00:00
|
|
|
# InvenTree environment variables for docker compose deployment
|
2021-08-18 03:02:36 +00:00
|
|
|
|
2024-02-27 14:06:19 +00:00
|
|
|
# Specify the location of the external data volume
|
|
|
|
# By default, placed in local directory 'inventree-data'
|
|
|
|
INVENTREE_EXT_VOLUME=./inventree-data
|
2021-08-18 03:02:36 +00:00
|
|
|
|
2022-04-20 13:34:50 +00:00
|
|
|
# Ensure debug is false for a production setup
|
2021-08-18 03:02:36 +00:00
|
|
|
INVENTREE_DEBUG=False
|
2021-08-22 18:59:51 +00:00
|
|
|
INVENTREE_LOG_LEVEL=WARNING
|
2021-08-18 03:02:36 +00:00
|
|
|
|
2022-05-28 23:40:37 +00:00
|
|
|
# InvenTree admin account details
|
|
|
|
# Un-comment (and complete) these lines to auto-create an admin acount
|
|
|
|
#INVENTREE_ADMIN_USER=
|
|
|
|
#INVENTREE_ADMIN_PASSWORD=
|
|
|
|
#INVENTREE_ADMIN_EMAIL=
|
|
|
|
|
2021-12-20 13:34:23 +00:00
|
|
|
# Database configuration options
|
2021-08-18 03:02:36 +00:00
|
|
|
INVENTREE_DB_ENGINE=postgresql
|
|
|
|
INVENTREE_DB_NAME=inventree
|
|
|
|
INVENTREE_DB_HOST=inventree-db
|
|
|
|
INVENTREE_DB_PORT=5432
|
2022-04-20 15:04:46 +00:00
|
|
|
|
2024-02-27 14:06:19 +00:00
|
|
|
# Database credentials - These should be changed from the default values!
|
|
|
|
INVENTREE_DB_USER=pguser
|
|
|
|
INVENTREE_DB_PASSWORD=pgpassword
|
2022-01-11 01:35:32 +00:00
|
|
|
|
2022-07-27 03:02:26 +00:00
|
|
|
# Redis cache setup (disabled by default)
|
|
|
|
# Un-comment the following lines to enable Redis cache
|
|
|
|
# Note that you will also have to run docker-compose with the --profile redis command
|
2022-06-10 10:16:19 +00:00
|
|
|
# Refer to settings.py for other cache options
|
2022-07-27 03:02:26 +00:00
|
|
|
#INVENTREE_CACHE_HOST=inventree-cache
|
|
|
|
#INVENTREE_CACHE_PORT=6379
|
2022-06-10 10:16:19 +00:00
|
|
|
|
2023-01-09 20:53:57 +00:00
|
|
|
# Options for gunicorn server
|
2023-07-04 12:46:03 +00:00
|
|
|
INVENTREE_GUNICORN_TIMEOUT=90
|
2023-01-09 20:53:57 +00:00
|
|
|
|
2022-11-01 22:51:36 +00:00
|
|
|
# Enable custom plugins?
|
2024-02-27 14:06:19 +00:00
|
|
|
INVENTREE_PLUGINS_ENABLED=True
|
2022-04-21 02:04:05 +00:00
|
|
|
|
2023-10-06 00:38:01 +00:00
|
|
|
# Run migrations automatically?
|
2024-02-27 14:06:19 +00:00
|
|
|
INVENTREE_AUTO_UPDATE=True
|
2023-10-06 00:38:01 +00:00
|
|
|
|
2022-07-17 23:09:04 +00:00
|
|
|
# Image tag that should be used
|
|
|
|
INVENTREE_TAG=stable
|
|
|
|
|
2024-03-13 10:37:56 +00:00
|
|
|
# Site URL - update this to match your host
|
2024-02-27 14:06:19 +00:00
|
|
|
INVENTREE_SITE_URL="http://inventree.localhost"
|
|
|
|
|
|
|
|
COMPOSE_PROJECT_NAME=inventree
|