mirror of
https://github.com/goharbor/harbor
synced 2025-04-19 21:20:32 +00:00
Merge pull request #1544 from reasonerjt/notary-integration
notary containers should use syslog as log driver
This commit is contained in:
commit
2006466814
|
@ -20,6 +20,11 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- notary-db
|
- notary-db
|
||||||
- notary-signer
|
- notary-signer
|
||||||
|
logging:
|
||||||
|
driver: "syslog"
|
||||||
|
options:
|
||||||
|
syslog-address: "tcp://127.0.0.1:1514"
|
||||||
|
tag: "notary-server"
|
||||||
notary-signer:
|
notary-signer:
|
||||||
image: notary:signer-0.5.0
|
image: notary:signer-0.5.0
|
||||||
container_name: notary-signer
|
container_name: notary-signer
|
||||||
|
@ -36,6 +41,11 @@ services:
|
||||||
command: -c "notary-signer -config=/config/signer-config.json -logf=logfmt"
|
command: -c "notary-signer -config=/config/signer-config.json -logf=logfmt"
|
||||||
depends_on:
|
depends_on:
|
||||||
- notary-db
|
- notary-db
|
||||||
|
logging:
|
||||||
|
driver: "syslog"
|
||||||
|
options:
|
||||||
|
syslog-address: "tcp://127.0.0.1:1514"
|
||||||
|
tag: "notary-signer"
|
||||||
notary-db:
|
notary-db:
|
||||||
image: mariadb:10.1.10
|
image: mariadb:10.1.10
|
||||||
container_name: notary-db
|
container_name: notary-db
|
||||||
|
@ -52,6 +62,11 @@ services:
|
||||||
- TERM=dumb
|
- TERM=dumb
|
||||||
- MYSQL_ALLOW_EMPTY_PASSWORD="true"
|
- MYSQL_ALLOW_EMPTY_PASSWORD="true"
|
||||||
command: mysqld --innodb_file_per_table
|
command: mysqld --innodb_file_per_table
|
||||||
|
logging:
|
||||||
|
driver: "syslog"
|
||||||
|
options:
|
||||||
|
syslog-address: "tcp://127.0.0.1:1514"
|
||||||
|
tag: "notary-db"
|
||||||
networks:
|
networks:
|
||||||
harbor-notary:
|
harbor-notary:
|
||||||
external: false
|
external: false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user