You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
497 B
24 lines
497 B
8 years ago
|
version: '2'
|
||
|
services:
|
||
|
postgres:
|
||
|
container_name: clair_postgres
|
||
|
image: postgres:latest
|
||
8 years ago
|
restart: unless-stopped
|
||
8 years ago
|
environment:
|
||
8 years ago
|
POSTGRES_PASSWORD: password
|
||
8 years ago
|
|
||
|
clair:
|
||
|
container_name: clair_clair
|
||
7 years ago
|
image: quay.io/coreos/clair-git:latest
|
||
8 years ago
|
restart: unless-stopped
|
||
8 years ago
|
depends_on:
|
||
|
- postgres
|
||
|
ports:
|
||
|
- "6060-6061:6060-6061"
|
||
|
links:
|
||
8 years ago
|
- postgres
|
||
8 years ago
|
volumes:
|
||
|
- /tmp:/tmp
|
||
|
- ./clair_config:/config
|
||
|
command: [-config, /config/config.yaml]
|