2017-04-27 13:01:45 +02:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
ui:
|
|
|
|
networks:
|
|
|
|
harbor-clair:
|
|
|
|
aliases:
|
|
|
|
- harbor-ui
|
|
|
|
jobservice:
|
|
|
|
networks:
|
|
|
|
- harbor-clair
|
2017-06-13 15:46:52 +02:00
|
|
|
registry:
|
|
|
|
networks:
|
|
|
|
- harbor-clair
|
2018-04-27 11:27:12 +02:00
|
|
|
postgresql:
|
2017-04-27 13:01:45 +02:00
|
|
|
networks:
|
|
|
|
harbor-clair:
|
|
|
|
aliases:
|
2018-04-27 11:27:12 +02:00
|
|
|
- harbor-db
|
2017-04-27 13:01:45 +02:00
|
|
|
clair:
|
|
|
|
networks:
|
|
|
|
- harbor-clair
|
|
|
|
container_name: clair
|
2017-12-09 19:53:12 +01:00
|
|
|
image: vmware/clair-photon:__clair_version__
|
2017-04-27 13:01:45 +02:00
|
|
|
restart: always
|
2018-07-03 05:23:56 +02:00
|
|
|
cpu_quota: 50000
|
2017-04-27 13:01:45 +02:00
|
|
|
depends_on:
|
2018-04-27 11:27:12 +02:00
|
|
|
- postgresql
|
2017-04-27 13:01:45 +02:00
|
|
|
volumes:
|
2018-04-08 17:43:45 +02:00
|
|
|
- ./common/config/clair/config.yaml:/etc/clair/config.yaml:z
|
2017-04-27 13:01:45 +02:00
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
|
|
|
options:
|
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "clair"
|
2018-03-28 12:49:40 +02:00
|
|
|
env_file:
|
|
|
|
./common/config/clair/clair_env
|
2017-04-27 13:01:45 +02:00
|
|
|
networks:
|
|
|
|
harbor-clair:
|
|
|
|
external: false
|