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: cap_drop:
- ALL - ALL
dns_search: . dns_search: .
networks:
- harbor
{% if external_redis == False %}
depends_on: depends_on:
- log
{% if external_redis == False %}
- redis - redis
{% endif %} {% endif %}
networks:
- harbor
volumes: volumes:
- type: bind - type: bind
source: {{data_volume}}/trivy-adapter/trivy source: {{data_volume}}/trivy-adapter/trivy