Skip to content

Commit

Permalink
Merge pull request #112 from jiro4989/hotfix/#111-logrotate
Browse files Browse the repository at this point in the history
🐛 ログローテート設定を追加 #111
  • Loading branch information
mergify[bot] authored Jan 29, 2020
2 parents 438e685 + a186a26 commit e334d70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions websh_server/src/websh_server.nim
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ router myrouter:
"--oom-kill-disable",
"--pids-limit", "1024",
"--name", uuid,
"--log-driver=json-file",
"--log-opt", "max-size=100m",
"--log-opt", "max-file=10",
"-v", &"{shellScriptPath}:{containerShellScriptPath}",
"-v", &"{imageDir}:/{img}",
# "-v", "./media:/media:ro",
Expand Down

0 comments on commit e334d70

Please sign in to comment.