Created
September 17, 2018 16:54
-
-
Save renatomefi/2f22ce3541b9286a7df256f515397df1 to your computer and use it in GitHub Desktop.
A docker-compose file for CoreOS Clair Scanner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.2' | |
services: | |
postgres: | |
container_name: clair_postgres | |
image: arminc/clair-db:latest | |
restart: unless-stopped | |
environment: | |
POSTGRES_PASSWORD: password | |
clair: | |
container_name: clair_clair | |
image: arminc/clair-local-scan:v2.0.4 | |
restart: unless-stopped | |
depends_on: | |
- postgres | |
ports: | |
- "6060-6061:6060-6061" | |
links: | |
- postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment