Skip to content

About

Flask with Docker and Traefik

Topics

Resources

Stars

10 stars

Watchers

5 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

Dockerizing Flask with Postgres, Gunicorn, and Traefik

Want to learn how to build this?

Check out the tutorial.

Want to use this project?

Development

Build the images and spin up the containers:

$ docker-compose up -d --build

Test it out:

  1. http://flask.localhost:8008/
  2. http://flask.localhost:8081/

Production

Update the domain in docker-compose.prod.yml, and add your email to traefik.prod.toml.

Build the images and run the containers:

$ docker-compose -f docker-compose.prod.yml up -d --build

About

Flask with Docker and Traefik

Topics

Resources

Stars

10 stars

Watchers

5 watching

Forks

Used by

Contributors

Languages