LondheShubham153 / two-tier-flask-app

123 stars 1.38k forks source link

Pull Request for updating message.sql changes in docker-compose file #2

Closed AnupamRoy2191 closed 1 year ago

AnupamRoy2191 commented 1 year ago

Hey Shubham,

Creating a pull request for updating the message.sql script changes which will create the messages table once MySQL container will be created using docker-compose.

Here message.sql script is mounted into container's /docker-entrypoint-initdb.d directory which is where MySQL will look for initialisation scripts to execute on container startup. so no need of manually creating tables after container creation via connecting to mysql db.

LondheShubham153 commented 1 year ago

LGTM

thanks @AnupamRoy2191