diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 4b504fab2a..bfeca88336 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -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 diff --git a/docker/production/.env b/docker/production/.env index 7cab3c93ee..b1c9430b51 100644 --- a/docker/production/.env +++ b/docker/production/.env @@ -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