From a3766250887050ddd7e460b1c274760a1d4dcb23 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 21 Apr 2022 01:04:46 +1000 Subject: [PATCH] Force INVENTREE_DB_USER and INVENTREE_DB_PASSWORD to be set manually - Only for the "production" docker setup --- docker/production/.env | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/production/.env b/docker/production/.env index b1c9430b51..d1fca305d1 100644 --- a/docker/production/.env +++ b/docker/production/.env @@ -22,8 +22,11 @@ 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 + +# Database credentials - These must be configured before running +# Uncomment the lines below, and change from the default values! +#INVENTREE_DB_USER=pguser +#INVENTREE_DB_PASSWORD=pgpassword # Enable plugins? INVENTREE_PLUGINS_ENABLED=False