mirror of
https://github.com/genuinetools/reg.git
synced 2024-07-16 07:59:29 -04:00
24 lines
497 B
YAML
24 lines
497 B
YAML
![]() |
version: '2'
|
||
|
services:
|
||
|
postgres:
|
||
|
container_name: clair_postgres
|
||
|
image: postgres:latest
|
||
|
restart: unless-stopped
|
||
|
environment:
|
||
|
POSTGRES_PASSWORD: password
|
||
|
|
||
|
clair:
|
||
|
container_name: clair_clair
|
||
|
image: quay.io/coreos/clair-git:latest
|
||
|
restart: unless-stopped
|
||
|
depends_on:
|
||
|
- postgres
|
||
|
ports:
|
||
|
- "6060-6061:6060-6061"
|
||
|
links:
|
||
|
- postgres
|
||
|
volumes:
|
||
|
- /tmp:/tmp
|
||
|
- ./clair_config:/config
|
||
|
command: [-config, /config/config.yaml]
|