mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-28 20:43:11 +00:00
3da19e5708
* Rejig of playbook to load roles from ansible-galaxy * Remove ansible-nas role and move tasks to tasks directory * Add InfluxDB/Telegraf/Grafana for monitoring & dashboards * Automatically configure InfluxDB as a datasource in Grafana * Switch to ZFS Docker driver * Add note about switching to overlay2 Docker driver if required
18 lines
456 B
YAML
18 lines
456 B
YAML
- 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
|
|
env:
|
|
GLANCES_OPT: "-w"
|
|
restart_policy: unless-stopped
|
|
memory: 1g
|