parent
363cde29f4
commit
80f150f93b
@ -0,0 +1,21 @@
|
|||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
container_name: clair_postgres
|
||||||
|
image: postgres:latest
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: postgres
|
||||||
|
|
||||||
|
clair:
|
||||||
|
container_name: clair_clair
|
||||||
|
image: quay.io/coreos/clair
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
ports:
|
||||||
|
- "6060-6061:6060-6061"
|
||||||
|
links:
|
||||||
|
- postgres
|
||||||
|
volumes:
|
||||||
|
- /tmp:/tmp
|
||||||
|
- ./clair_config:/config
|
||||||
|
command: [-config, /config/config.yaml]
|
Loading…
Reference in new issue