Use local log driver for everything

Auto rotation, max is 100mb
This commit is contained in:
David Heinemeier Hansson
2023-02-09 17:02:15 +01:00
parent aae45afb1b
commit a80289d046
7 changed files with 10 additions and 7 deletions

View File

@@ -2,7 +2,8 @@ class Mrsk::Commands::Traefik < Mrsk::Commands::Base
def run
docker :run, "--name traefik",
"-d",
"--restart unless-stopped",
"--restart", "unless-stopped",
"--log-driver", "local",
"-p 80:80",
"-v /var/run/docker.sock:/var/run/docker.sock",
"traefik",