mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
6f335bdb1a
This change involves using non-root user to run the process of the docker images. Also made update in Dockerfile to make the containers support "read-only" and introduce "HEALTHCHECK". Note the "read-only" options are not enabled in docker-compose, to cover the very corner case when user wants to update the container filesystem manually. Remove read only option from docker-compose template by default
9 lines
264 B
Plaintext
9 lines
264 B
Plaintext
# Rsyslog configuration file for docker.
|
|
|
|
template(name="DynaFile" type="string"
|
|
string="/var/log/docker/%$now%/%syslogtag:R,ERE,0,DFLT:[^[]*--end:secpath-replace%.log"
|
|
)
|
|
#if $programname == "docker" then ?DynaFile
|
|
if $programname != "rsyslogd" then -?DynaFile
|
|
|