Restart clair until postgres is up
This commit is contained in:
parent
639d305cf8
commit
9d75a90a8a
@ -3,12 +3,14 @@ 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:v1.2.2
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- postgres
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user