Update README.md (#2)
This commit is contained in:
parent
78d5dfbe53
commit
15db8ea6df
1 changed files with 10 additions and 1 deletions
11
README.md
11
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue