From 63bdb4d5abcb176b932e52a2da12a2d8ae749318 Mon Sep 17 00:00:00 2001 From: Jules Robichaud-Gagnon Date: Sat, 4 Feb 2023 14:57:02 -0500 Subject: [PATCH] Fix colors not showing up in logs --- docker-compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 701029a9..2dfb188e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,7 @@ services: env_file: - ./.envs/.local/.django - ./.envs/.local/.postgres + tty: true # needed for colors to show in console logs ports: - "8000:8000" command: /start @@ -47,8 +48,9 @@ services: env_file: - ./.envs/.local/.django - ./.envs/.local/.postgres - + command: /start-celeryworker + tty: true # needed for colors to show in console logs celerybeat: image: django_structlog_demo_project_local_django @@ -60,8 +62,9 @@ services: env_file: - ./.envs/.local/.django - ./.envs/.local/.postgres - + command: /start-celerybeat + tty: true # needed for colors to show in console logs flower: image: django_structlog_demo_project_local_django