Skip to content

sabderemane/django-postgres-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-postgres-docker

Build the three containers

  • postgres
  • python 3
  • django

Images are automatically fetched, if necessary, from docker hub

docker-compose build

Start a new web container to run migrations

Use --rm to remove the container when the command completes docker-compose run --rm web python manage.py migrate

Run everything in the background with -d

docker-compose up -d

About

Starter django postgres with docker (WIP)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published