First, to run docker-compose, you need to check if the networks have been created. If not, then do:
docker network create ${NETWORK_NAME}
replace your network name
For all configuration of username & password, please use the attached .env file
To run the services:
docker compose up -f docker-compose-db up
To turn off the services:
docker compose up -f docker-compose-db down
Note: For services that use Docker, remember to use the service name in docker-compose instead of using localhost. Example: People often use:
localhost:3306
When people call from another docker, the configuration:
mysql:3306