Merge pull request #274 from JensPiegsa/patch-1

Restart clair until postgres is up
This commit is contained in:
Quentin Machu 2016-11-22 13:26:11 +01:00 committed by GitHub
commit 39854ac64d

View File

@ -3,12 +3,14 @@ services:
postgres: postgres:
container_name: clair_postgres container_name: clair_postgres
image: postgres:latest image: postgres:latest
restart: unless-stopped
environment: environment:
POSTGRES_PASSWORD: password POSTGRES_PASSWORD: password
clair: clair:
container_name: clair_clair container_name: clair_clair
image: quay.io/coreos/clair:v1.2.2 image: quay.io/coreos/clair:v1.2.2
restart: unless-stopped
depends_on: depends_on:
- postgres - postgres
ports: ports: