Skip to content

Commit

Permalink
Fixes #92 - limit Docker logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jhult authored and Steffen Bleul committed Jun 17, 2018
1 parent adcb113 commit 8091add
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yml
Expand Up @@ -18,6 +18,12 @@ services:
- 'JIRA_PROXY_NAME='
- 'JIRA_PROXY_PORT='
- 'JIRA_PROXY_SCHEME='
logging:
# limit logs retained on host to 25MB
driver: "json-file"
options:
max-size: "500k"
max-file: "50"
labels:
com.blacklabelops.description: "Atlassian Jira"
com.blacklabelops.service: "jira"
Expand All @@ -36,6 +42,12 @@ services:
- 'POSTGRES_ENCODING=UNICODE'
- 'POSTGRES_COLLATE=C'
- 'POSTGRES_COLLATE_TYPE=C'
logging:
# limit logs retained on host to 25MB
driver: "json-file"
options:
max-size: "500k"
max-file: "50"
labels:
com.blacklabelops.description: "PostgreSQL Database Server"
com.blacklabelops.service: "postgresql"
Expand Down

0 comments on commit 8091add

Please sign in to comment.