From 30e692b3874a5bb93d37f268a9ba61af1f4a4f7a Mon Sep 17 00:00:00 2001 From: THATDONFC Date: Mon, 12 Sep 2022 16:36:23 -0700 Subject: [PATCH] Fix mislabeled environment variables `SCANNER_DB_USER` and `MANUAL_DB_USER` were mislabeled and do not match the consts in [/server/src/services/config.js](https://github.com/WatWowMap/ReactMap/blob/254c96a29238ce6b14a42d9d630139dcd2fab22f/server/src/services/config.js#L17) This commit changes the mentioned environment variables to be `SCANNER_DB_USERNAME` and `MANUAL_DB_USERNAME` respectively. --- docker-compose.example.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 53c7551ad..0dfc7fdb9 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -8,12 +8,12 @@ services: environment: SCANNER_DB_HOST: 127.0.0.1 SCANNER_DB_PORT: 3306 - SCANNER_DB_USER: scanner_username + SCANNER_DB_USERNAME: scanner_username SCANNER_DB_PASSWORD: scanner_user_pw SCANNER_DB_NAME: realdevicemap MANUAL_DB_HOST: 127.0.0.1 MANUAL_DB_PORT: 3306 - MANUAL_DB_USER: manual_username + MANUAL_DB_USERNAME: manual_username MANUAL_DB_PASSWORD: manual_user_pw MANUAL_DB_NAME: manual_db MAP_GENERAL_TITLE: ReactMap