infrastructure/ansible/roles/scrutiny/files/docker-compose.yml

29 lines
727 B
YAML
Raw Normal View History

2020-09-21 21:16:00 +01:00
version: "2.3"
services:
web:
image: linuxserver/scrutiny:latest
ports:
- "{{ wireguard.clients[ansible_fqdn].ip }}:7278:8080"
volumes:
2020-09-26 21:15:44 +01:00
- "{{ app_data_dir }}/scrutiny/:/config"
2020-09-21 21:16:00 +01:00
environment:
- SCRUTINY_WEB=true
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
restart: unless-stopped
collector:
image: linuxserver/scrutiny:latest
privileged: true
2020-09-21 21:16:00 +01:00
volumes:
- /dev/disk:/dev/disk
- /run/udev:/run/udev:ro
2020-09-26 21:15:44 +01:00
- "{{ app_data_dir }}/scrutiny/:/config"
2020-09-21 21:16:00 +01:00
environment:
- SCRUTINY_COLLECTOR=true
- SCRUTINY_API_ENDPOINT=http://web:8080
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
2020-09-21 21:16:00 +01:00
restart: unless-stopped