- Install docker-ce
- Install docker-compose
- You can see the current database structure in sqldump.sql
- The sqldump.sql file will be used to initialize the database as specified in docker-compose.yml
- Run
docker-compose buildto build/rebuild containers - Run
docker-compose upto start the containers - Wait till the database is up, you will see message similar to the following after you run docker-compose up.
db_1 | 2019-09-08T12:43:40.745433Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.17' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL. - Changes you make to the application can be viewed in the browser
- Run
docker-compose downto stop and remove containers, networks, volumes, and images created - To connect to the application, use url http://0.0.0.0:5000/
- To connect to adminer, use url http://localhost:8080/ and view/export the database

raghavddps2/Basic-Blog-Application-in-Flask
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|

