Skip to content

wingyen/flask_redis_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask_redis_docker

This is a minimail containerized Flask app using Python 3.8 and Redis to as database.

Steps to get the app up and running:

$ docker-compose up --build

After build success, the web will be running on http://0.0.0.0:5000/ , if everything runs as expected you can see "Hello World! I have been seen {n} times." (you will see the times you hit refresh, it expires after 60 sec.)

Activate python shell in a app container

$ docker exec -ti py_redis_app flask shell

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published