Skip to content

Commit

Permalink
Merge pull request #1797 from input-output-hk/rhyslbw/docker-compose-…
Browse files Browse the repository at this point in the history
…log-rotation

Implement log rotation in docker-compose file
  • Loading branch information
rvl authored Jul 16, 2020
2 parents b2e1292 + 20ed8b2 commit 53805cc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ services:
- node-ipc:/ipc
- node-config:/nix/store
restart: on-failure
logging:
driver: "json-file"
options:
compress: "true"
max-file: "10"
max-size: "50m"

cardano-wallet:
image: inputoutput/cardano-wallet:latest
Expand All @@ -28,6 +34,12 @@ services:
CMD: "cardano-wallet-byron serve --node-socket /ipc/node.socket --database /wallet-db --listen-address 0.0.0.0"
NETWORK:
restart: on-failure
logging:
driver: "json-file"
options:
compress: "true"
max-file: "10"
max-size: "50m"

volumes:
node-mainnet-db:
Expand Down

0 comments on commit 53805cc

Please sign in to comment.