mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 14:47:38 +01:00
ecd0bbf2dd
Run clair with Core Harbor services Add check logic for Clair DB
33 lines
603 B
Smarty
33 lines
603 B
Smarty
version: '2'
|
|
services:
|
|
ui:
|
|
networks:
|
|
harbor-clair:
|
|
aliases:
|
|
- harbor-ui
|
|
jobservice:
|
|
networks:
|
|
- harbor-clair
|
|
registry:
|
|
networks:
|
|
- harbor-clair
|
|
clair:
|
|
networks:
|
|
- harbor-clair
|
|
container_name: clair
|
|
image: vmware/clair-photon:__clair_version__
|
|
restart: always
|
|
cpu_quota: 150000
|
|
depends_on:
|
|
- log
|
|
volumes:
|
|
- ./common/config/clair:/config
|
|
logging:
|
|
driver: "syslog"
|
|
options:
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
tag: "clair"
|
|
networks:
|
|
harbor-clair:
|
|
external: false
|