From 15db8ea6df92a61685ee92f933f89f14051147b5 Mon Sep 17 00:00:00 2001 From: HappyLoLTroll <71263735+HappyLoLTroll@users.noreply.github.com> Date: Wed, 16 Apr 2025 10:02:44 +0200 Subject: [PATCH] Update README.md (#2) --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f7f054c..2e67905 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,16 @@ first build the image using the dockerfile docker build -t govd-bot . ``` -then edit the .env file and match the DB properties with the MariaDB service environment variables in the docker-compose.yml file and run +next, update the .env file to ensure the database properties match the environment variables defined for the MariaDB service in the docker-compose.yml file +(while the default environment variables defined for the MariaDB service are acceptable, it is recommended to change the `MYSQL_PASSWORD` property in the docker-compose.yaml file for enhanced security and ensure that you also modify the the `DB_PASSWORD` property in the .env file to reflect this change) + +the following line in the .env file MUST be set as shown below + +```env +DB_HOST=db +``` + +finally run the compose to start all services ```bash docker compose up -d