Skip to content

Instantly share code, notes, and snippets.

@hugohenley
Created April 12, 2019 20:30
Show Gist options
  • Save hugohenley/b5f8061bfd481ec09d51879384efdbc5 to your computer and use it in GitHub Desktop.
Save hugohenley/b5f8061bfd481ec09d51879384efdbc5 to your computer and use it in GitHub Desktop.
DevOps Challenge - docker-compose.yaml
version: '3.2'
services:
cadvisor:
image: google/cadvisor:latest
container_name: cadvisor
ports:
- 8080:8080
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
depends_on:
- redis
redis:
image: redis:latest
container_name: redis
ports:
- 6379:6379
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment