Add log denpendency ti trivy

To void trivy can not start issue

Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
DQ 2020-08-13 11:26:59 +08:00
parent b3012ec08d
commit a251e90507

View File

@ -554,12 +554,13 @@ services:
cap_drop:
- ALL
dns_search: .
networks:
- harbor
{% if external_redis == False %}
depends_on:
- log
{% if external_redis == False %}
- redis
{% endif %}
networks:
- harbor
volumes:
- type: bind
source: {{data_volume}}/trivy-adapter/trivy