mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Merge pull request #11063 from ninjadq/fix_syslog_dir_in_tpl
Fix: fix logrotate is dir issue
This commit is contained in:
commit
a702c32346
@ -14,8 +14,12 @@ services:
|
|||||||
- SETUID
|
- SETUID
|
||||||
volumes:
|
volumes:
|
||||||
- {{log_location}}/:/var/log/docker/:z
|
- {{log_location}}/:/var/log/docker/:z
|
||||||
- ./common/config/log/logrotate.conf:/etc/logrotate.d/logrotate.conf:z
|
- type: bind
|
||||||
- ./common/config/log/rsyslog_docker.conf:/etc/rsyslog.d/rsyslog_docker.conf:z
|
source: ./common/config/log/logrotate.conf
|
||||||
|
target: /etc/logrotate.d/logrotate.conf
|
||||||
|
- type: bind
|
||||||
|
source: ./common/config/log/rsyslog_docker.conf
|
||||||
|
target: /etc/rsyslog.d/rsyslog_docker.conf
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:1514:10514
|
- 127.0.0.1:1514:10514
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user