2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-09 12:11:23 +00:00
Files
.github
InvenTree
ci
deploy
docker
Dockerfile
dev-config.env
docker-compose.dev.yml
docker-compose.yml
gunicorn.conf.py
init.sh
nginx.conf
prod-config.env
requirements.txt
images
.eslintrc.yml
.gitattributes
.gitignore
.gitpod.yml
CONTRIBUTING.md
LICENSE
README.md
RELEASE.md
crowdin.yml
requirements.txt
setup.cfg
tasks.py
InvenTree/docker/prod-config.env
Antonin Kral 7f126e58d2 Fix for production docker environment
Values are passed as written resulting in `"WARNING"` being passed to python logger, which will complain and panic. Fix is simply to remove `"` from the value.
2021-08-22 20:59:51 +02:00

17 lines
523 B
Bash

# InvenTree environment variables for a production setup
# Note: If your production setup varies from the example, you may want to change these values
# Ensure debug is false for a production setup
INVENTREE_DEBUG=False
INVENTREE_LOG_LEVEL=WARNING
# Database configuration
# 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