mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 17:07:35 +00:00
Limit docker logs to 300MB per container
This commit is contained in:
parent
06c23368f2
commit
6c8a0bfda6
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue