Fix env file reference for docker-compose.yml (development)

This commit is contained in:
Oliver Walters 2022-04-20 23:34:50 +10:00
parent 85feb30812
commit e87e478009
2 changed files with 4 additions and 6 deletions

View File

@ -54,8 +54,7 @@ services:
# Ensure you specify the location of the 'src' directory at the end of this file
- inventree_src:/home/inventree
env_file:
# Environment variables required for the dev server are configured in dev-config.env
- dev-config.env
- .env
restart: unless-stopped
# Background worker process handles long-running or periodic tasks
@ -71,8 +70,7 @@ services:
# Ensure you specify the location of the 'src' directory at the end of this file
- inventree_src:/home/inventree
env_file:
# Environment variables required for the dev server are configured in dev-config.env
- dev-config.env
- .env
restart: unless-stopped
### Optional: Serve static and media files using nginx

View File

@ -12,12 +12,12 @@
# Default web port for the InvenTree server
INVENTREE_WEB_PORT=1337
# Ensure DEBUG is False for a production setup
# 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)
# Note: The example setup is for a PostgreSQL database
INVENTREE_DB_ENGINE=postgresql
INVENTREE_DB_NAME=inventree
INVENTREE_DB_HOST=inventree-db