Skip to content

Commit

Permalink
Update docker-compose_example.yml
Browse files Browse the repository at this point in the history
reduce logfile size
  • Loading branch information
CONSULitAS committed Dec 18, 2024
1 parent fde4b9b commit c1d55d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,10 @@ services:
# automatic update using Watchtower (https://github.com/containrrr/watchtower) highly recommended
- "com.centurylinklabs.watchtower.enable=true"

logging:
driver: "json-file"
options:
max-size: "1m" # maximum log size 1 MiB
max-file: "3" # keep only 3 logfiles

# ***** EOF *****

0 comments on commit c1d55d3

Please sign in to comment.