Skip to content

Commit

Permalink
Merge pull request #1458 from codalab/log-size
Browse files Browse the repository at this point in the history
Increase max-size and max-file of logs in docker-compose.yml
  • Loading branch information
Didayolo authored May 28, 2024
2 parents 94028a4 + 6b9fc5e commit 9b4639d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ services:
tty: true
logging:
options:
max-size: "20k"
max-file: "10"
max-size: "20m"
max-file: "5"


#-----------------------------------------------
Expand Down Expand Up @@ -100,8 +100,8 @@ services:
restart: unless-stopped
logging:
options:
max-size: "20k"
max-file: "10"
max-size: "20m"
max-file: "5"


#-----------------------------------------------
Expand All @@ -121,8 +121,8 @@ services:
restart: unless-stopped
logging:
options:
max-size: "20k"
max-file: "10"
max-size: "20m"
max-file: "5"

#-----------------------------------------------
# Rabbitmq & Flower monitoring tool
Expand All @@ -149,8 +149,8 @@ services:
restart: unless-stopped
logging:
options:
max-size: "20k"
max-file: "10"
max-size: "20m"
max-file: "5"

flower:
# image: mher/flower
Expand All @@ -167,8 +167,8 @@ services:
- rabbit
logging:
options:
max-size: "20k"
max-file: "10"
max-size: "20m"
max-file: "5"

#-----------------------------------------------
# Redis
Expand All @@ -180,8 +180,8 @@ services:
restart: unless-stopped
logging:
options:
max-size: "20k"
max-file: "10"
max-size: "20m"
max-file: "5"

#-----------------------------------------------
# Celery Service
Expand All @@ -201,8 +201,8 @@ services:
restart: unless-stopped
logging:
options:
max-size: "20k"
max-file: "10"
max-size: "20m"
max-file: "5"
deploy:
resources:
limits:
Expand Down Expand Up @@ -231,5 +231,5 @@ services:
- CODALAB_IGNORE_CLEANUP_STEP=1
logging:
options:
max-size: "20k"
max-file: "10"
max-size: "20m"
max-file: "5"

0 comments on commit 9b4639d

Please sign in to comment.