- Create the environment file
.env
- Setting up the environment variables into the
.env
fileDB_DATA_PATH=/home/data-mongodb
: place where you are going to save the mysql dataDB_PORT=3306
: database portTIMEZONE=Europe/Berlin
- Start docker image
docker network create blogdb
docker-compose -f docker-compose.local.yml up -d
Note: if you want to know your local timezone, execute the command:
cat /etc/timezone
All contributions are welcome