2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

Refactor development docker-compose setup

This commit is contained in:
Oliver Walters
2022-04-20 23:15:37 +10:00
parent 0b3aac21ea
commit 85feb30812
6 changed files with 20 additions and 91 deletions

18
docker/.env Normal file
View File

@ -0,0 +1,18 @@
# InvenTree environment variables for a development setup
# Set DEBUG to True for a development setup
INVENTREE_DEBUG=True
INVENTREE_DEBUG_LEVEL=INFO
# 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-dev-db
INVENTREE_DB_PORT=5432
INVENTREE_DB_USER=pguser
INVENTREE_DB_PASSWORD=pgpassword
# Enable plugins?
INVENTREE_PLUGINS_ENABLED=True