mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
0b3aac21ea
Everything can be specified in the .env file!
30 lines
878 B
Bash
30 lines
878 B
Bash
# InvenTree environment variables for a postgresql production setup
|
|
|
|
# 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
|
|
|
|
# Ensure debug is false for a production setup
|
|
INVENTREE_DEBUG=False
|
|
INVENTREE_LOG_LEVEL=WARNING
|
|
|
|
# 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-db
|
|
INVENTREE_DB_PORT=5432
|
|
INVENTREE_DB_USER=pguser
|
|
INVENTREE_DB_PASSWORD=pgpassword
|
|
|
|
# Enable plugins?
|
|
INVENTREE_PLUGINS_ENABLED=False
|