2022-04-20 11:44:22 +00:00
|
|
|
# InvenTree environment variables for a postgresql production setup
|
2021-08-18 03:02:36 +00:00
|
|
|
|
2022-04-20 12:35:53 +00:00
|
|
|
# Location of persistent database data (stored external to the docker containers)
|
|
|
|
# Note: You *must* un-comment this line, and point it to a path on your local machine
|
|
|
|
|
|
|
|
# e.g. Linux
|
|
|
|
#INVENTREE_EXT_VOLUME=/home/me/inventree-data
|
|
|
|
|
|
|
|
# e.g. Windows (docker desktop)
|
|
|
|
#INVENTREE_EXT_VOLUME=c:/Users/me/inventree-data
|
|
|
|
|
|
|
|
# Default web port for the InvenTree server
|
|
|
|
INVENTREE_WEB_PORT=1337
|
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
|
|
|
|
2021-12-20 13:34:23 +00:00
|
|
|
# Database configuration options
|
2022-04-20 13:34:50 +00:00
|
|
|
# Note: The example setup is for a PostgreSQL database
|
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
|
|
|
|
|
|
|
# Database credentials - These must be configured before running
|
|
|
|
# Uncomment the lines below, and change from the default values!
|
|
|
|
#INVENTREE_DB_USER=pguser
|
|
|
|
#INVENTREE_DB_PASSWORD=pgpassword
|
2022-01-11 01:35:32 +00:00
|
|
|
|
|
|
|
# Enable plugins?
|
|
|
|
INVENTREE_PLUGINS_ENABLED=False
|
2022-04-21 02:04:05 +00:00
|
|
|
|
|
|
|
COMPOSE_PROJECT_NAME=inventree-production
|