mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
notary containers should use syslog as log driver
This commit is contained in:
parent
42bc430cfd
commit
04a5eb6606
@ -20,6 +20,11 @@ services:
|
||||
depends_on:
|
||||
- notary-db
|
||||
- notary-signer
|
||||
logging:
|
||||
driver: "syslog"
|
||||
options:
|
||||
syslog-address: "tcp://127.0.0.1:1514"
|
||||
tag: "notary-server"
|
||||
notary-signer:
|
||||
image: notary:signer-0.5.0
|
||||
container_name: notary-signer
|
||||
@ -36,6 +41,11 @@ services:
|
||||
command: -c "notary-signer -config=/config/signer-config.json -logf=logfmt"
|
||||
depends_on:
|
||||
- notary-db
|
||||
logging:
|
||||
driver: "syslog"
|
||||
options:
|
||||
syslog-address: "tcp://127.0.0.1:1514"
|
||||
tag: "notary-signer"
|
||||
notary-db:
|
||||
image: mariadb:10.1.10
|
||||
container_name: notary-db
|
||||
@ -52,6 +62,11 @@ services:
|
||||
- TERM=dumb
|
||||
- MYSQL_ALLOW_EMPTY_PASSWORD="true"
|
||||
command: mysqld --innodb_file_per_table
|
||||
logging:
|
||||
driver: "syslog"
|
||||
options:
|
||||
syslog-address: "tcp://127.0.0.1:1514"
|
||||
tag: "notary-db"
|
||||
networks:
|
||||
harbor-notary:
|
||||
external: false
|
||||
|
Loading…
Reference in New Issue
Block a user