Merge pull request #12766 from ninjadq/add_log_dependency_to_trivy

Add log denpendency ti trivy
This commit is contained in:
Qian Deng 2020-08-13 18:23:09 +08:00 committed by GitHub
commit 5dbbfa76d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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