Skip to content

AluBhorta/docker-compose-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose Demo

This repo is used as a demo for this blog.

Prerequisites

Usage

start the app in the background

docker compose up -d

check the logs (use -f to follow)

docker compose logs

remove the app

docker compose down

rebuild images (after making changes)

docker compose build

update web service (eg. with new image)

docker compose up web -d --no-deps

Notes

  • the master branch contains the code for flask dev server (flask run).
  • the prod branch contains the code for gunicorn.

Acnkowledgement

This demo was adapted from docker compose getting started guide.

About

Demo repo for Docker Compose tutorial.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published