aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-16 10:59:37 -0800
committerGravatar MarkKoz <[email protected]>2020-02-16 10:59:37 -0800
commitc0bc8d03804739d8ff025f4bf71846b09569b75c (patch)
treed995427cf09ba77257dcb389f98ec3fc503ea6a8
parentMerge pull request #752 from python-discord/infr-edit-permanent-fix (diff)
Fix missing Django logs when using Docker Compose
Fixed by allocating a pseudo-tty to the web and bot services in Docker Compose.
-rw-r--r--docker-compose.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 7281c7953..11deceae8 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -23,6 +23,7 @@ services:
- staff.web
ports:
- "127.0.0.1:8000:8000"
+ tty: true
depends_on:
- postgres
environment:
@@ -37,6 +38,7 @@ services:
volumes:
- ./logs:/bot/logs
- .:/bot:ro
+ tty: true
depends_on:
- web
environment: