Skip to content

Commit

Permalink
Limit docker logs to 300MB per container
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Mar 7, 2024
1 parent 06c2336 commit 6c8a0bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions orchestration/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ fn start(network: Network, services: HashSet<String>) {
let command = command.arg("create").arg("--name").arg(&docker_name);
let command = command.arg("--network").arg("serai");
let command = command.arg("--restart").arg("always");
let command = command.arg("--log-opt").arg("max-size=100m");
let command = command.arg("--log-opt").arg("max-file=3");
let command = match name {
"bitcoin" => {
if network == Network::Dev {
Expand Down

0 comments on commit 6c8a0bf

Please sign in to comment.