Skip to content

Commit

Permalink
Merge pull request #158 from readthedocs/attach-docker
Browse files Browse the repository at this point in the history
Allow `docker attach` to work in dev
  • Loading branch information
ericholscher committed Jul 3, 2020
2 parents ebdce8f + 369c767 commit 3a603b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ services:
ports:
- "5000:5000"
command: /start
# Allow us to run `docker attach` and get
# control on STDIN and be able to debug our code with interactive pdb
stdin_open: true
tty: true

postgres:
build:
Expand Down

0 comments on commit 3a603b5

Please sign in to comment.