ansible-nas/tasks/glances.yml

19 lines
456 B
YAML
Raw Normal View History

2017-08-28 15:31:54 +00:00
- name: Glances Docker Container
docker_container:
name: glances
image: nicolargo/glances
pull: true
ports:
- "61208:61208"
- "61209:61209"
volumes:
#- "/glances.conf:/glances/conf/glances.conf"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "/etc/timezone:/etc/timezone:ro"
pid_mode: host
network_mode: host
2017-08-28 15:31:54 +00:00
env:
GLANCES_OPT: "-w"
restart_policy: unless-stopped
memory: 1g