Skip to content

HenryNQC/howtospeak_backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-nginx-mysql-flask

Skeleton for docker-compose nginx/flask-mysql containers.

This is a skeleton that shows how to use Nginx with a flask application and a mysql data container. It uses docker-compose to instantiate everything.

Simple use

docker-compose up

To start the process.

A data directory for mysql is created so that the data is persistent if you remove the container. The flask application is mounted into the container as to make it easier to incorporate changes.

If you change something in the application and wish to bring them into effect, just use:

docker-compose restart

#Unittest https://gist.github.com/ntk148v/55154ea867555001c4aa47b970cac64b

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Shell 0.7%