Add Harbor And Update Traefik
This commit is contained in:
8
Repository/Harbor/common/config/log/logrotate.conf
Normal file
8
Repository/Harbor/common/config/log/logrotate.conf
Normal file
@ -0,0 +1,8 @@
|
||||
/var/log/docker/*.log {
|
||||
rotate 50
|
||||
size 200M
|
||||
copytruncate
|
||||
compress
|
||||
missingok
|
||||
nodateext
|
||||
}
|
7
Repository/Harbor/common/config/log/rsyslog_docker.conf
Normal file
7
Repository/Harbor/common/config/log/rsyslog_docker.conf
Normal file
@ -0,0 +1,7 @@
|
||||
# Rsyslog configuration file for docker.
|
||||
|
||||
template(name="DynaFile" type="string" string="/var/log/docker/%programname%.log")
|
||||
|
||||
if $programname != "rsyslogd" then {
|
||||
action(type="omfile" dynaFile="DynaFile")
|
||||
}
|
Reference in New Issue
Block a user