Skip to content

KoenR3/docker-nginx-mysql-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 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

About

Skeleton for docker-compose nginx/flask-mysql containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages