- Create the environment file
.env - Setting up the environment variables into the
.envfileDB_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 blogdbdocker-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