Skip to content

Commit

Permalink
pass logging options.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboulware@ntia.doc.gov committed Jun 11, 2024
1 parent 056d852 commit d2c5307
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ services:
start_period: 30s
logging:
driver: local
max-file: 20
max-size: 10m
options:
max-file: 20
max-size: 10m


api:
Expand Down Expand Up @@ -99,8 +100,9 @@ services:
- "${MANAGER_FQDN}:${MANAGER_IP}"
logging:
driver: local
max-file: 20
max-size: 10m
options:
max-file: 20
max-size: 10m
command: /entrypoints/api_entrypoint.sh

nginx:
Expand Down Expand Up @@ -129,8 +131,9 @@ services:
- DOMAINS
logging:
driver: local
max-file: 20
max-size: 10m
options:
max-file: 20
max-size: 10m

# This is a stop-gap until Docker adds the capability to restart unhealthy
# containers natively.
Expand Down

0 comments on commit d2c5307

Please sign in to comment.