clair/docker-compose.yml

22 lines
430 B
YAML
Raw Normal View History

2016-03-09 07:45:47 +00:00
version: '2'
services:
postgres:
container_name: clair_postgres
image: postgres:latest
environment:
POSTGRES_PASSWORD: password
2016-03-09 07:45:47 +00:00
clair:
container_name: clair_clair
image: quay.io/coreos/clair
depends_on:
- postgres
ports:
- "6060-6061:6060-6061"
links:
- postgres
2016-03-09 07:45:47 +00:00
volumes:
- /tmp:/tmp
- ./clair_config:/config
command: [-config, /config/config.yaml]